Axe-core gets WCAG 2.1 rules

Wilco Fiers

Von Wilco Fiers

August 27, 2018

axe core gets wcag21

In June, the W3C published Web Content Accessibility Guidelines, version 2.1. WCAG 2.1 is the latest version of a recommendation that is used the world over for defining what it means for web content to be accessible. WCAG 2.1 introduced a number of new success criteria related to accessibility for people with low vision, cognitive and learning disabilities, and for accessibility with mobile devices.

As of axe-core version 3.1, Deque will be adding rules for WCAG 2.1. For this first version, we have added rules for the following:

  • Test that form fields correctly use autocomplete. This helps users with learning disabilities to customize how forms are displayed. For instance, with this technique a browser extension could add familiar icons to all forms asking for a user’s personal information. Having familiar icons on all such fields helps users quickly understand what information a form is asking for.
  • Check that orientation lock of content. Users may have their phone mounted in portrait mode. If web pages than forces content to be displayed in landscape mode, all content will be displayed on its side, with no option for the user to rotate it. With this new rule, axe-core will find instances of content forced in a certain orientation. You will have to enable experimental rules to run this.

Other WCAG 2.1 rules are also in preparation and will come shortly. Stay tuned!

Accessibility support in axe-core

If you’ve read our article about accessibility support in axe-core, you may be aware that axe-core takes great care to make sure content works in a wide range of screen readers and other assistive technologies. As of axe-core version 3.1 we will start differentiating between techniques that fail because they are used incorrectly, and techniques that fail because they are not widely supported.

Screen readers and other assistive technologies sometimes behave in a way that is difficult to predict. Axe-core will find such behaviors and report them explicitly. We’ve started reporting ARIA roles that are not widely supported. Other properties, and greater configurability of these support properties will come as we learn more about how such features will be used.

Axe localisation

As part of our ongoing effort to spread accessibility across the world, we are introducing a new localisations of axe-core and of the axe extensions for Chrome and Firefox. These will include translations for French and Japanese. To configure the locale in axe-core, a new API was added: axe.configure({ locale }). You can find details about this in the axe-core API documentation. In the next version of the axe extension for Chrome and Firefox we will add options for localising axe to French and Japanese.

If you are interested in helping us localise the axe extension to your language, we welcome a pull request on Github. For details, see the section on localisation in the readme.

Wilco Fiers

Wilco Fiers

Wilco ist seit 18 Jahren im Bereich Barrierefreiheit tätig und ist Produktmanager für die „Advanced Rules“ Dequesowie zuvor für axe-core „axe linter“. Er nimmt beim W3C eine führende Rolle ein, unter anderem als Vertreter Dequeim Beratungsausschuss, als Moderator der ACT-Taskforce und als ehemaliger Projektleiter von WCAG 3.0. Im Auftrag von Deque leitete Wilco die von der EU finanzierten Barrierefreiheitsprojekte „WAI-Tools“ und „WAI-Coop“ und hält regelmäßig Vorträge zu verschiedenen Themen im Zusammenhang mit digitaler Barrierefreiheit.

Erhalten Sie Blog-Beiträge direkt in Ihren Posteingang

Kein Geschwafel, sondern echte Erkenntnisse zum Thema Barrierefreiheit von qualifizierten Experten.

Sie erklären sich damit einverstanden, dass Deque Informationen gemäß den Bestimmungen in DequeDatenschutzerklärungbeschrieben, Informationen von Deque entgegennimmt, nutzt und weitergibt. Sie können Ihre Einwilligung jederzeit widerrufen, indem Sie uns kontaktieren.

Mehr zu diesem Thema

Warum die Verknüpfung der Norm EN 17161 mit den WCAG einen großen Fortschritt für die digitale Barrierefreiheit darstellt

Wilco Fiers 400 × 400 1 300 × 300
9. Juli 2026 Von Wilco Fiers

WCAG ist der Horizont. Er ist die Richtung, in die Sie fahren, und auch wenn Sie den Horizont nicht wirklich „erreichen“ können, ist er doch das Ziel, auf das Sie zusteuern. EN 17161 ist die Straße, auf der Sie fahren, und sie verfügt über alle Markierungen, Leitlinien und Schilder, die Sie auf Kurs halten und verhindern, dass Sie in den Gegenverkehr oder in den Graben geraten.

Artikel lesen
Eine Gruppe von Personen in einer Büroumgebung, die sich um einen Laptop versammelt hat und geschäftliche Angelegenheiten bespricht. Auf dem Beitrag sind vier überlagerte Sprechblasen mit den Begriffen „EN 17161“, „EN 301 549“, „WCAG“ und „Europäisches Gesetz zur Barrierefreiheit (EAA)“ zu sehen.

Der nächste große Schritt in Sachen digitale Barrierefreiheit: Warum die Community für digitale Barrierefreiheit die Norm EN 17161 begrüßen sollte

Wilco Fiers 400 × 400 1 300 × 300
11. Juni 2026 Von Wilco Fiers

Erfahren Sie, wie die Umsetzung der Norm EN 17161 Ihrem Unternehmen ermöglicht, ein solides Barrierefreiheitsprogramm aufzubauen, mit dem sich die Barrierefreiheit in der Praxis zusätzlich zu den WCAG messen lässt.

Artikel lesen
Zwei Personen arbeiten an einem Laptop, eine davon ist blind. Es gibt vier Sprechblasen mit den Texten: Einhaltung der Anforderungen an die digitale Barrierefreiheit, EN 17161, WCAG und Design für alle.