-
Notifications
You must be signed in to change notification settings - Fork 353
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
Develop example of listbox pattern #123
Comments
Changes to complete js and css for list box example for issue #123.
Hi, the notes about this example state: |
We definitely need to reveal the keyshortcuts that activate the action buttons to sighted keyboard users. On the other hand, your feedback on the enter key toggling a check mark that indicates a selected state is interesting, especially considering issue #233. Do you have any examples of platforms or environments where enter toggling a checkbox or selected state is conventional? |
Ah, that was my rookie mistake. Yes you are correct that checkboxes are triggered only with the spacebar and this should follow that specification. |
@DavidMacDonald, they are in a toolbar; use arrow keys. Your feedback in this case is a perfect example of why I am hoping we can develop widely recognizable visual indicators that tell people when arrow key navigation is available. We need arrow key navigation to change from an affordance that is typically hidden to one that is always easily perceived. See example 1 on the layout grid examples page |
@mcking65 In windows desktop, once a dialogue box is open both the arrow and the tab move the focus between buttons. But I like the idea of a tutorial popup. I teach JAWS users and a surprising number don't know what to do with a radio group. I would say 30% of average JAWS users don't know that they need to use the arrow keys. |
For issue #123, made the following changes: * renamed: examples/listbox/listbox.html -> examples/listbox/listbox-rearrangeable.html * listbox-rearrangeable.html: - Change title, Remove example 3, add similar example link - add intro to keyboard and roles and props sections - update links to source files, update source rendering code. * renamed:examples/listbox/js/main.js -> examples/listbox/js/listbox-rearrangeable.js * listbox-rearrangeable.js: Remove example 3 code. * new file:examples/listbox/listbox-scrollable.html * new file:examples/listbox/js/listbox-scrollable.js * modified aria-practices.html: Update links to example pages and ad ID listbox_kbd_interaction.
For issue #123, add styling to make the toolbar keyboard affordance perceivable by sighted users to address concerns raised by @DavidMacDonald.Styled buttons and toolbar in listbox example
For issue #123, add typeahead in the lists so that typing the first letters of the name of an option moves focus to the next option that starts with those letters.
For issue #123, change keyboard shortcuts so that: * Shortcut for Add button is enter instead of delete * Shortcut for Important button is enter instead of delete. Fix bug where selecting the last items in the list and performing an action made the list unfocusable.
…ted actions For issue #123, add a live region to each example that announces the result of pressing an action button that moves one of the listbox options.
The listbox examples are now code complete and ready for review.
Closing and opening separate review issues. |
The listbox design pattern is at:
http://w3c.github.io/aria-practices/#Listbox
The HTML template and description for two listbox examples is in the examples/listbox/listbox.html file in the repo and can be viewed in RawGit at:
https://rawgit.com/w3c/aria-practices/master/examples/listbox/listbox.html
The text was updated successfully, but these errors were encountered: