Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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/#enable-devtools-experiments 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 comment has been minimized.

Show comment Hide comment
@danielmatthew

danielmatthew Jul 20, 2016

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 👍

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 👍

@jorgecas99

This comment has been minimized.

Show comment Hide comment
@jorgecas99

jorgecas99 Feb 14, 2017

Many developers including myself have long coded without accessibility in mind. thank you for sharing, this is a great way to stay on top of it so it's not forgotten!

Many developers including myself have long coded without accessibility in mind. thank you for sharing, this is a great way to stay on top of it so it's not forgotten!

@jpls93

This comment has been minimized.

Show comment Hide comment
@jpls93

jpls93 Mar 27, 2017

@marcysutton Thank you for sharing this. By the way, you may also directly link to chrome://flags/#enable-devtools-experiments instead of just chrome://flags to more easily find the settings.

Also, in Step 3, for others who would initially do it the way I did. Instead of opening Google Chrome's settings, open the settings inside the developer tools accessed by pressingF12 F1.

Best regards!

jpls93 commented Mar 27, 2017

@marcysutton Thank you for sharing this. By the way, you may also directly link to chrome://flags/#enable-devtools-experiments instead of just chrome://flags to more easily find the settings.

Also, in Step 3, for others who would initially do it the way I did. Instead of opening Google Chrome's settings, open the settings inside the developer tools accessed by pressingF12 F1.

Best regards!

@selfthinker

This comment has been minimized.

Show comment Hide comment
@selfthinker

selfthinker Nov 20, 2017

I needed to restart Chrome after the first step (enabling DevTools experiments). Or else the "Experiments" tab was missing from the settings, so I couldn't do step 3 without restarting.

selfthinker commented Nov 20, 2017

I needed to restart Chrome after the first step (enabling DevTools experiments). Or else the "Experiments" tab was missing from the settings, so I couldn't do step 3 without restarting.

@primerproyecto

This comment has been minimized.

Show comment Hide comment
@primerproyecto

primerproyecto Jan 30, 2018

Thank you. Gracias

Thank you. Gracias

@backwardok

This comment has been minimized.

Show comment Hide comment
@backwardok

backwardok Feb 13, 2018

@marcysutton looks like this now comes out of the box in Chrome! 🎉 https://developers.google.com/web/updates/2018/01/devtools#a11y

@marcysutton looks like this now comes out of the box in Chrome! 🎉 https://developers.google.com/web/updates/2018/01/devtools#a11y

@killerplay970

This comment has been minimized.

Show comment Hide comment
@killerplay970

killerplay970 Mar 31, 2018

chrome://flags/#enable-devtools-experiments

chrome://flags/#enable-devtools-experiments

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