Skip to content

Spin Button - Removing aria-hidden and adding aria-labels for up/down buttons#3780

Merged
dzearing merged 4 commits into
microsoft:masterfrom
chang47:chiechan/accSpinBtn
Jan 25, 2018
Merged

Spin Button - Removing aria-hidden and adding aria-labels for up/down buttons#3780
dzearing merged 4 commits into
microsoft:masterfrom
chang47:chiechan/accSpinBtn

Conversation

@chang47

@chang47 chang47 commented Jan 23, 2018

Copy link
Copy Markdown
Contributor

Description of changes

To comply with the standards set by screen readers for a spin button, an input must have 2 controls, which in the case of the spin button, is the up and down buttons. We have to remove the aria-hidden on these 2 buttons so screen readers can detect them.

Alongside of that, we should also be able to add an accessible name to the up/down buttons in the spinner.

Focus areas to test

Spin Button page in the component, specifically to see that the aria-hidden value is gone.

@dzearing dzearing merged commit 1f86b53 into microsoft:master Jan 25, 2018
@microsoft microsoft locked as resolved and limited conversation to collaborators Aug 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants