-
Notifications
You must be signed in to change notification settings - Fork 355
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
Review combobox design pattern (initial draft) #464
Comments
@mcking65 I have reviewed combo box design pattern. This explains clearly various combo box autocomplete patterns. One thing from the draft is that the "escape" should be "enter" if a user decide to keep the current value" I copied the section for your info. " A feature that distinguishes both combobox and menu button from listbox is that they can enable users can navigate the set of allowed values and, at any point, decide to keep the current value by pressing escape." |
@mcking65 While I skimmed through keyboard interaction section. I was thinking whether we can make this more concise; omit the same keyboard functionality, which is repeated over the pattern and mention only different keyboard functionality . Thanks for the great work, Matt. |
For Tree Popup Keyboard Interaction > Note > item 3 > third bullet: Typo: change "fisually" to "visually" |
For Listbox Popup Keyboard Interaction and Grid Popup Keyboard Interaction: Suggest replacing "state" with "value". |
Under WAI-ARIA Roles, States, and Properties: Typo: last sentence > change "Elements" to "elements" (no upper case 'e') |
Under WAI-ARIA Roles, States, and Properties > The textbox element has aria-autocomplete set to a value that corresponds to its autocomplete behavior > third bullet: Typo: remove the comma after "a completion string," |
Note following WAI-ARIA Roles, States, and Properties:
The above should probably be included in the Note and have the same green background as the Note. |
Please clarify the behavior of the button, next to combobox input. Does it open the whole options list or only filtered ones according to current input value? |
…extbox For issue #413, Modified the combobox pattern in aria-practices.html: 1. Delete all the Windows-specific key assignments from the textbox subsection of the keyboard interaction section. 2. Add a note recommending reliance on browser for text editing functionality. Also related to issue #464.
It looks good, though I have a question about this one: "List autocomplete with automatic selection: When the popup is triggered, it presents suggested values that complete or logically correspond to the characters typed in the textbox, and the first suggestion is automatically highlighted as selected. The automatically selected suggestion becomes the value of the textbox when the combobox loses focus unless the user chooses a different suggestion or changes the character string in the textbox." If this is implemented in accordance with the spec, the suggested options, or even the presence of a list of suggested items is never actually announced to screen reader users when typing, so it is often impossible for such users to even be aware that these lists are available or if there is anything being suggested. On touch devices like iOS for example, a person can type whole strings using the touch keyboard and never be aware that anything is being dynamically suggested on the screen. At present the only way to make this work reliably is to use a live region or to implement a dynamic message such as unobtrusive announcement to make this work. (E.G https://github.com/accdc/aria-announce ) So if such comboboxes are implemented as documented here yet fail to provide notification to screen reader users that dynamic content changes have occurred, it results in significant accessibility issues for these users regardless, which will definitely be flagged in accessibility audits. |
Bryan, first, thank you for the review! @accdc commented:
Exactly. Shortcomings in screen reader behavior, like this one, are one of the primary drivers of all this work on practices.
Yap, this is another example of how authors are doing extra work that should be completely unnecessary! It is just one more reason that accessible experiences are more expensive than they should be. But, this guide is a step toward changing that.
True enough; authors will have to do lots of extra work until assistive technology developers work on improving their experiences for ARIA. There are probably at least a hundred examples of problems like this once we work through all the combinations of screen readers, browsers, and patterns. And, doing that is one of my ambitions as soon as our examples are adequately reviewed. |
For issue #464, made the following changes to the combobox design pattern section in aria-practices.html: 1. Revise description of popup display conditions 2. Clarify paragraph about listbox and menu button 3. Weaken recommendation to use 1.1 pattern 4. Restructure notes for states and props 5. Fix multiple typos
Commit 9fda46b addresses feedback received thus far. Given the length of the pattern and number of changes, here is a summary of major changes (typo fixes not included) to help facilitate review. Change 1: Revise description of popup display conditionsTo help address questions raised by @error404as, changed:
Replaced with:
Change 2: Clarify paragraph about listbox and menu buttonA comment by @a11ydoer made it clear that this text is not sufficiently clear:
So, I changed it to:
Change 3: Weaken recommendation to use 1.1 patternBased on concerns raised by @accdc when reviewing examples, replaced this paragraph:
With this new version that emphasizes the need for sufficient assistive tech support for the 1.1 pattern:
Change 4: Restructure notes for states and propsIn response to feedback from @annabbot regarding the styling of the notes for roles, states, and properties, restructured so the CSS note class could encompass the entire set of notes. |
@mcking65 Thanks for all the changes you made. It sounds more clear now. Great job! |
Modified aria-practices.html to remove link to issue #464 from the combobox design pattern section. The internal task force review process is complete.
Thank you everyone for contributing to this pattern! This was one of the more challenging patterns, and we got it done! Thank you!! |
A first draft of the combobox design pattern
specified in issue #31 is now merged into master and ready for review.
Reviews requested as of September 21, 2017
Input is appreciated from all task force members as well as other interested people. Comments on this issue are specifically requested from:
The text was updated successfully, but these errors were encountered: