Skip to content

Improve toggle field editor for screen reader users#11417

Open
microbit-robert wants to merge 1 commit into
microsoft:masterfrom
microbit-robert:field-toggle-sr
Open

Improve toggle field editor for screen reader users#11417
microbit-robert wants to merge 1 commit into
microsoft:masterfrom
microbit-robert:field-toggle-sr

Conversation

@microbit-robert

Copy link
Copy Markdown
Contributor

This is a field editor that is edited immediately with 'Enter' or 'Space' rather than popping up an editable element or dialog. As a result, it needs a slightly different approach to other field editors. This moves the aria-label into a child element as text and attaches an aria-live attribute to the focusable element. This ensures that the value is output correctly on initial focus and also provides feedback to the user when they change the value of the toggle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant