Create a gist now

Instantly share code, notes, and snippets.

Enable Chrome Accessibility Experiment

Just like any good element inspector helps you debug styles, accessibility inspection in the browser can help you debug HTML and ARIA exposed for assistive technologies such as screen readers. There's a similar tool in Safari (and reportedly one in Edge) but I like the Chrome one best.

As an internal Chrome experiment, this tool differs from the Accessibility Developer Tools extension in that it has privileged Accessibility API access and reports more information as a result. You can still use the audit feature in the Chrome Accessibility Developer Tools, or you could use the aXe Chrome extension. :)

To enable the accessibility inspector in Chrome stable:

  1. Go to chrome://flags to enable Devtools experiments Chrome flags with Developer Tools Experiments enabled
  2. Open developer tools, go to Settings (Devtools menu or Chrome customization menu) Chrome devtools settings
  3. In Settings, go to Experiments and enable "Accessibility Inspection" Settings Experiments
  4. Restart developer tools.
  5. In the element inspector, a new "Accessibility" tab has been added to "Styles". Use it to inspect accessibility nodes to see an element's computed name, role, etc. Accessibility inspection of Soundcloud search field
@danielmatthew

this tool differs from the Accessibility Developer Tools extension in that it has privileged Accessibility API access and reports more information as a result

I was just about to ask this.

Thanks for this 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment