Skip to content

Files

Latest commit

 

History

History
15 lines (12 loc) · 1.05 KB

11.md

File metadata and controls

15 lines (12 loc) · 1.05 KB
title date submitter tags discussion
I want browsers to throw accessibility errors
2019-07-26 00:00:00 UTC
Anonymous
accessibility
devtools

Browser developer tools throw errors for all sorts of things, including CORS errors and uncaught JavaScript errors. Why not throw errors for detectable accessibility issues, like “This interactive element has no name” or “This image has no alt text.”

From an end user perspective: missing names and alt text are just two examples that impact the work of people with disabilities. Current workarounds don't really exist for screenreader users (for example). Buttons with no name are in most cases unusable (because they’re indistinguishable). Images with no alt attribute are not perceivable.

From a developer perspective, lack of this feature impacts work too: it makes it harder to discover a fix inaccessibility. Workarounds exist: for instance, inspect the browser's accessibility tree to see what an accessible name computed to.