Axe-core gets WCAG 2.1 rules

Wilco Fiers

Par 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 travaille dans le domaine de l'accessibilité depuis 18 ans ; il est chef de produit pour les règles avancées Deque, après avoir occupé les mêmes fonctions pour axe-core axe linter. Il joue un rôle de premier plan au sein du W3C en tant que représentant Dequeau comité consultatif, animateur du groupe de travail ACT et ancien chef de projet des WCAG 3.0. Au nom de Deque, Wilco a piloté les projets d’accessibilité financés par l’UE WAI-Tools et WAI-Coop, et intervient régulièrement lors de conférences sur divers sujets liés à l’accessibilité numérique.

Recevez les articles de blog directement dans votre boîte mail

Pas de bavardages inutiles, mais des informations concrètes sur l'accessibilité, fournies par des experts qualifiés.

Vous acceptez que Deque , utilise et partage des informations conformément à Dequedéclaration de confidentialité. Vous pouvez modifier votre consentement à tout moment en nous contactant.

En savoir plus sur ce sujet

Pourquoi l'association de la norme EN 17161 aux WCAG constitue une avancée majeure pour l'accessibilité numérique

Wilco Fiers 400 x 400 1 300 x 300
9 juillet 2026 Par Wilco Fiers

Les WCAG constituent l'horizon. C'est la direction que vous suivez, et même si vous ne pouvez pas réellement « atteindre » cet horizon, c'est vers lui que vous roulez. La norme EN 17161 est la route sur laquelle vous roulez ; elle comporte toutes les marquages, les repères et les panneaux qui vous permettent de rester sur la bonne voie et vous empêchent de dévier vers d'autres voies ou de finir dans le fossé.

Lire l'article
Groupe de personnes dans un bureau, en train de discuter affaires autour d'un ordinateur portable. Quatre légendes superposées apparaissent sur la publication, avec les mentions suivantes : EN 17161, EN 301 549, WCAG et Loi européenne sur l'accessibilité (EAA).

Le prochain grand pas en avant en matière d'accessibilité numérique : pourquoi la communauté de l'accessibilité numérique devrait adopter la norme EN 17161

Wilco Fiers 400 x 400 1 300 x 300
11 juin 2026 Par Wilco Fiers

Découvrez comment l'intégration de la norme EN 17161 permet à votre organisation de mettre en place un programme d'accessibilité solide visant à évaluer l'accessibilité dans des conditions réelles, en complément des WCAG.

Lire l'article
Deux personnes travaillent sur un ordinateur portable ; l'une d'elles est aveugle. On distingue quatre encadrés contenant les mentions suivantes : « Conformité aux normes d'accessibilité numérique », « EN 17161 », « WCAG » et « Conception pour tous ».