Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A11y: Connect switches and information text so that the two are linked for screen readers #24929

Closed
daniellekirkwood opened this issue Mar 24, 2023 · 3 comments

Comments

@daniellekirkwood
Copy link
Contributor

daniellekirkwood commented Mar 24, 2023

Screenshot 2023-03-24 at 12 58 53

The designation including the information text of the switch is not linked to
the associated control element (example marked in blue). Therefore, when the
toggle is focused, the caption is not read out by the screen reader, making it difficult
for blind users to access the form.

This applies to all switches in "Settings"

Suggestion: Labels should be surrounded by a label tag, which is linked to the associated control element (example marked in red) using the for attribute and an id.

Please ask @daniellekirkwood about timesheeting

@NSV1991
Copy link

NSV1991 commented Apr 9, 2023

@daniellekirkwood @gsouquet I like to work on this issue

@daniellekirkwood
Copy link
Contributor Author

Thanks!

@t3chguy
Copy link
Member

t3chguy commented Apr 11, 2023

Fixed by matrix-org/matrix-react-sdk#10553

@t3chguy t3chguy closed this as completed Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants