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

Text styles add colours, which convey meaning not available to non-visual or colour blind users. #563

Open
msayoung opened this issue Jun 12, 2024 · 1 comment · May be fixed by #566
Open

Comments

@msayoung
Copy link
Member

Our default text styles offer these options:

  • Alert info , warning, failure, success
  • Callout danger, callout success, (and others)

These add a coloured outline or background making these stand out visually. The colours also suggest meaning (green - good, red - danger).

There is no text alternative for these styles meaning that the text won't stand out to non-visual (eg screen reader) users. Colour blind users may not be able to distinguish one from the other.

This could (or should ? ) be dealt with in content - for example adding "Warning:" to the beginning of the text.

Thoughts?

Related #531

@markconroy
Copy link
Member

There's a grand auld conversation going on over here along with a nice little PR.

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

Successfully merging a pull request may close this issue.

2 participants