I want browsers to throw accessibility errors #181
aarongustafson
started this conversation in
Wants
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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 noalt
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.
https://webwewant.fyi/wants/11/
Beta Was this translation helpful? Give feedback.
All reactions