Skip to content

Commit

Permalink
use list for a11y in RadioButtonGroup, see #361
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed May 17, 2018
1 parent 26d015d commit f404165
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion js/buttons/RadioButtonGroup.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ define( function( require ) {
tandem: Tandem.required,

// a11y
tagName: 'fieldset',
tagName: 'ul',
groupFocusHighlight: true
}, options );

Expand Down
1 change: 1 addition & 0 deletions js/buttons/RadioButtonGroupMember.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ define( function( require ) {
tagName: 'input',
inputType: 'radio',
labelTagName: 'label',
containerTagName: 'li',
appendDescription: true,
appendLabel: true,

Expand Down

0 comments on commit f404165

Please sign in to comment.