Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autosuggest: Guide doesn't explain where the recommendation comes from, no mention of HTML <datalist> #349

Open
renestalder opened this issue May 31, 2021 · 1 comment

Comments

@renestalder
Copy link
Collaborator

Reference: https://www.accessibility-developer-guide.com/examples/widgets/autosuggest/

In other guides, I found this:
https://thepaciellogroup.github.io/AT-browser-tests/test-files/datalist.html

And this:
https://a11ysupport.io/tests/tech__html__datalist

But then, I didn't find a convenient counter example why not to use it.

Looking at our guide, there is a recommendation what this kind of component should do:

the WAI-ARIA Authoring Practices do not offer a section about autosuggests. [...] Besides many other requirements, we want to stress out explicitly the following: [...] Proper feedback must be given upon entering a filter ("2 suggestions available for X" or similar).

However, the guide does not state where this recommendation is coming from. Is it a combination of multiple WCAG recommendations? Is it coming from experience and tests made at Access For All? Is it coming though other forms of research?

I believe the guide should include a mention of the datalist element with a recommendation of whether to use it or not and a "why" for the recommendation made in the current guide.

@jmuheim
Copy link
Collaborator

jmuheim commented Feb 1, 2023

As far as I remember, the datalist Element wasn't a big thing yet back then, or it wasn't fully screen reader compatible. At least it wasn't announcing how many elements there are; meanwhile, after reading a blogpost about the comboboxes in the APG (https://tollwerk.de/projekte/tipps-techniken-inklusiv-barrierefrei/die-aria-combobox#optionale-statusmeldung), I'm unsure whether this notification has ever been mandatory anyway (although I find it pretty crucial).

Anyway, our current Autocomplete shows its age, and during a presentation a few months ago, I realised that it doesn't feel as smooth anymore as it used to (NVDA). Last year we created a Multi-Select version using checkboxes, and it feels much better: https://josh.ch/dropdown/multi.html. Why not simply replace the current one with this one?

@backflip backflip moved this to Todo in ADG May 12, 2023
@backflip backflip added this to ADG May 12, 2023
@NicSR NicSR moved this from Todo to future activities in ADG May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: future activities
Development

No branches or pull requests

3 participants