Skip to content

Commit

Permalink
rename parentContainerTagName --> containerTagName, phetsims/scenery#748
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Mar 27, 2018
1 parent 01de0d8 commit 36539f6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion js/john-travoltage/view/AppendageNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ define( function( require ) {
inputType: 'range',
ariaRole: 'slider',
focusable: true,
parentContainerTagName: 'div',
containerTagName: 'div',
keyboardMidPointOffset: 0 // adjust center position of accessible slider, to align important locations at center
}, options );

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ define( function( require ) {

// a11y options
tagName: 'p',
parentContainerTagName: 'li'
containerTagName: 'li'
};
var arrowKeyDescription = new RichText( arrowKeysMoveFootString, _.extend( {
accessibleLabel: arrowKeysMoveFootString,
Expand Down
4 changes: 2 additions & 2 deletions js/john-travoltage/view/JohnTravoltageView.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ define( function( require ) {
// the parent container is given role "none" so screen readers don't read contents of the play area when focus moves
// out of the navigation bar - JAWS is very confusing in its summary of this content
var playAreaNode = new Node( {
parentContainerTagName: 'section',
containerTagName: 'section',
parentContainerAriaRole: 'none',
tagName: 'div',
labelTagName: 'h2',
Expand All @@ -110,7 +110,7 @@ define( function( require ) {
this.addChild( playAreaNode );

var controlPanelNode = new Node( {
parentContainerTagName: 'section',
containerTagName: 'section',
tagName: 'div',
ariaRole: 'none',
labelTagName: 'h2',
Expand Down

0 comments on commit 36539f6

Please sign in to comment.