Skip to content

Commit

Permalink
Rename a11y to pdom, see phetsims/sun#328
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed Jun 6, 2024
1 parent 905accb commit 0765a6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/accessible-preferences-quickstart-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,10 @@ const mySlider = new Slider( someProperty, {
descriptionContent: 'Adjust number of values used to smooth noise in incoming sensor values from input device.',

// spoken every time the slider value changes, describing the new value
a11yCreateAriaValueText: value => { `${value} values` }
pdomCreateAriaValueText: value => { `${value} values` }

// optional context responses that describe the result of the action
// a11yCreateContextResponseAlert: value => { `The value has changed to ${value}.` }
// pdomCreateContextResponseAlert: value => { `The value has changed to ${value}.` }
} );
```

Expand Down

0 comments on commit 0765a6d

Please sign in to comment.