Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lavir/685c9c954a4af2d7bf6bad7be64f68fb to your computer and use it in GitHub Desktop.
Save lavir/685c9c954a4af2d7bf6bad7be64f68fb to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment