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

Start adding labels for a11y #789

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

alexbrazier
Copy link

This change adds an option to specify colour labels which a screen reader is able to use to read out the colour. Without this the only thing the screen reader gets is the hex code read out.

If you're happy with this proposal to add labels to the colours I can update the other components to match.

I've also made the role of the swatch a button so it at least tells the user it is clickable. I think ideally it would be a radio group and radio button but that would require further css changes.

Starts work on #678

@naoya7076
Copy link

This is great changes and I hope this PR will be merged.

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.

2 participants