Axe-core gets WCAG 2.1 rules

Wilco Fiers

By 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 has been in the field of accessibility for 18 years, and is the product manager of Deque’s advanced rules, and previously of axe-core and axe linter. He has a leading role at the W3C as Deque’s advisory committee representative, facilitator of the ACT Task Force, and former project manager of WCAG 3.0. On behalf of Deque, Wilco managed the EU-funded accessibility projects WAI-Tools & WAI-Coop, and regularly does public speaking on various topics related to digital accessibility.

Get blogs in your inbox

No slop, just real accessibility insights from qualified experts.

You consent to Deque receiving, using, and sharing information as stated in Deque's privacy statement. You can change your consent at any time by contacting us.

More on this topic

Test your custom elements and trust the results with Axe-core’s support for ElementInternals

wilco fiers 400x400 1 300x300
August 27, 2026 By Wilco Fiers

If you're a large enterprise organization with accessibility issues resulting from interoperability challenges, moving to ElementInternals is a savvy move. You can standardize, and safely test. And, with Axe-core now supporting ElementInternals, you can test those components and trust the results.

Read Article
A testing flow, depicting a single custom button scanned by Axe-core for React, Angular or Vue frameworks

Deque and Microsoft: Two decades of shaping the future of accessibility

cropped preety kumar400x400 300x300 1 1.jpg
August 25, 2026 By Preety Kumar

What started nearly two decades ago as conversations between two people passionate about improving accessibility across Microsoft's digital experiences has grown into a lasting partnership built on shared learning, mutual respect, and a common belief that accessibility should be built into every stage of software development.

Read Article
Preety Kumar and Jenny Lay-Flurrie conducting an interview, with the Seattle skyline in the background.