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

Radio Group Pattern: Add new keyboard interaction for radios in toolbars #952

Merged
merged 3 commits into from
Jan 15, 2019

Conversation

mcking65
Copy link
Contributor

@mcking65 mcking65 commented Dec 7, 2018

For issue #949, modified the radio group pattern section aria-practices.html:

  • Divided the keyboard interaction subsection into two subsections: not in toolbar and in toolbar.
  • Added interactions for the special case of radios contained in toolbars.

Go to section 3.16 in the feature branch to see the changes.


Preview | Diff

For issue #949, modified the radio group pattern section aria-practices.html:
* Divided the keyboard interaction subsection into two subsections: not in toolbar and in toolbar.
* Added interactions for the special case of radios contained in toolbars.
@jongund
Copy link
Contributor

jongund commented Dec 7, 2018

I think it looks good, but we I think we also need to define behavior of the up and down arrow keys in the toolbar case. The up and down arrow keys could be defined only allowing navigation within the radio buttons in the current radio group and could also have the selected radio to follow focus. The current toolbar example provides most of this up and down arrow functionality, it could be modified for the selected radio button to follow focus.

Also do we need to provide any guidance on the use of the ENTER key, since it usually is the keyboard behavior for activating the default action of buttons?

Per feedback from @charmarkk in issue #949, revise left and right arrow descriptions for clarity. Changed to bulleted list of behaviors for each key.

Per feedback from @jongund on the aria-practices list serve, added guidance for enter, up, and down keys.
@mcking65 mcking65 added this to the 1.1 APG Release 3 milestone Dec 12, 2018
@mcking65 mcking65 added enhancement Any addition or improvement that doesn't fix a code bug or prose inaccuracy Pattern Page Related to a page documenting a Pattern labels Dec 12, 2018
Copy link
Contributor

@charmarkk charmarkk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me @mcking65. Left, right arrow description seems much clearer, and the list provides a bit of logical order to it, just in case.

Copy link

@annabbott annabbott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me

@mcking65 mcking65 requested a review from curtbellew January 7, 2019 18:29
@jnurthen
Copy link
Member

jnurthen commented Jan 7, 2019

LGTM

Copy link

@curtbellew curtbellew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me as well.

@mcking65 mcking65 merged commit 211301f into master Jan 15, 2019
@mcking65 mcking65 deleted the issue949-radios-in-toolbars branch January 25, 2019 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Any addition or improvement that doesn't fix a code bug or prose inaccuracy Pattern Page Related to a page documenting a Pattern
Development

Successfully merging this pull request may close these issues.

6 participants