Skip to content

Commit

Permalink
rename // a11y to // pdom, phetsims/scenery#997
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph authored and marlitas committed Jun 28, 2022
1 parent 4dca884 commit bf516b8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/NumberPicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ function NumberPicker( valueProperty, rangeProperty, options ) {
phetioReadOnly: PhetioObject.DEFAULT_OPTIONS.phetioReadOnly,
phetioComponentOptions: null, // filled in below with PhetioObject.mergePhetioComponentOptions()

// a11y
// pdom
pageKeyboardStep: 2 // {number} - change in value when using page up/page down, see AccessibleNumberSpinner
}, options );

Expand Down Expand Up @@ -381,7 +381,7 @@ function NumberPicker( valueProperty, rangeProperty, options ) {
// Dilate based on consistent technique which brings into account transform of this node.
const focusBounds = this.localBounds.dilated( FocusHighlightPath.getDilationCoefficient( this ) );

// a11y - custom focus highlight that matches rounded background behind the numeric value
// pdom - custom focus highlight that matches rounded background behind the numeric value
this.focusHighlight = new FocusHighlightPath( Shape.roundedRectangleWithRadii(
focusBounds.minX,
focusBounds.minY,
Expand Down Expand Up @@ -436,7 +436,7 @@ function NumberPicker( valueProperty, rangeProperty, options ) {
self.enabledProperty.unlink( enabledListener );
}

// a11y mixin
// pdom mixin
self.disposeAccessibleNumberSpinner();
};

Expand Down

0 comments on commit bf516b8

Please sign in to comment.