Access4all / adg

Accessibility Developer Guide
http://www.accessibility-developer-guide.com
Other
183 stars 34 forks source link

Re-write importance and meaning of ARIA widgets #373

Closed jmuheim closed 1 year ago

jmuheim commented 2 years ago

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.

netlify[bot] commented 2 years 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

jmuheim commented 2 years ago

@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?

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.