Skip to content

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