w3c / aria-at

Assistive Technology ARIA Experience Assessment
https://aria-at.netlify.app
Other
154 stars 28 forks source link

Asserting conveyance of different values for aria-autocomplete #383

Open jscholes opened 3 years ago

jscholes commented 3 years ago

Over on issue #340, @mfairchild365 asks:

was there any discussion on if the value of aria-autocomplete needs to be conveyed (both, list, or inline)? Or is just that the presence of autocomplete behavior in general sufficient?

The comment specifically relates to the updated tests for the Editable Combobox With Both List and Inline Autocomplete example, which uses an aria-autocomplete value of "both". In tests relating to the textbox, we assert:

The presence of autocomplete behavior is conveyed

This is generic/abstract wording, allowing testers to decide whether the specific output of a given screen reader/browser combination represents a pass or fail. But it also raises two questions:

  1. Should there be different assertions for different aria-autocomplete tokens?
  2. If so, will that require us to create more concretely worded assertions? I'm concerned that we may create either:
    • assertions that are too vague, e.g. "the presence of inline autocomplete behaviour is conveyed", which testers don't really understand; or
    • per-combination assertions that are too specific and imply a preference on AT output, particularly if we have to invent those output strings because ATs don't currently differentiate between aria-autocomplete tokens.
jscholes commented 3 years ago

Notes from the March 25, 2021 CG meeting:

Ultimately, this was a productive discussion but we didn't reach consensus on the above points and should revisit.