Closed jmuheim closed 1 year ago
✔️ Deploy Preview for accessibility-developer-guide ready!
🔨 Explore the source changes: 45a0b144e22e3179466b515a70550a409b4ab42c
🔍 Inspect the deploy log: https://app.netlify.com/sites/accessibility-developer-guide/deploys/614b287b288aee00080849b9
😎 Browse the preview: https://deploy-preview-373--accessibility-developer-guide.netlify.app
@ralf57 I'm done so far with my work (re-writing the content, so that ARIA is not generally discouraged anymore from being used).
What I see is now left to do:
Another question is: what about other widgets? Should they also be updated to rely more thoroughly on ARIA?
role="carousel"
), and there's a discussion whether carousels and accordions should actually be implemented as tablists.aria-expanded
?role="dialog"
or even the <dialog>
element; it might restrict keyboard focus to the element, and even prevent screen readers from leaving the dialog completely.In general it might be worth stating somewhere that our widgets are not "one solution fits all use cases", they are merely inspirations on how to implement stuff. I write this because some weeks back a developer of an UI components library was kind of disappointed of the ADG's autocomplete, claiming that for example it wouldn't work as well on mobile as sophisticated "real world" implementations like https://lambda-it.github.io/digitalfactoryui_react/. Looking at the code of the latter I definitely appreciate the simplicity of the ADG implementation, while the sophistication of the latter definitely is stupendous. But it's two totally different solutions, and they can't be compared.
As our guide was written with the deep impression that the usage of ARIA by the "default" web developer would do more harm than good, there are quite a few places where I stress out that ARIA is kind of ambivalent (if not precarious) to use.
In general, I would say that this is still the case today, but screen reader / browser combos have caught up quite a bit. So I'm re-writing/re-framing all these spots, claiming that usage of ARIA can be useful for certain widgets - if you really want to provide the "fanciest" accessibility possible.
Related to #128.