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

Warning messages - Use of color vs Consistency #2816

Open
giacomo-petri opened this issue Sep 29, 2023 · 0 comments
Open

Warning messages - Use of color vs Consistency #2816

giacomo-petri opened this issue Sep 29, 2023 · 0 comments
Labels
editorial Changes to prose that don't alter intended meaning, e.g., phrasing, grammar. May fix inaccuracies.

Comments

@giacomo-petri
Copy link
Contributor

There are cases where warnings are presented with either a light orange background (e.g. https://www.w3.org/WAI/ARIA/apg/patterns/slider/examples/slider-seek/) or a light red background (e.g. https://www.w3.org/WAI/ARIA/apg/patterns/slider-multithumb/).

If the intention is to give greater prominence to the ones with a red background, akin to alerts, we should consider changing the label from "Warning" to "Alert."
Conversely, if the purpose remains consistent, it would be advisable to maintain uniformity by using the same background color for all warnings.

For reference, here's a screenshot illustrating the difference between orange and red warnings:
screenshot comparing orange vs red warnings

I am happy to submit a pull request to implement these changes once a decision has been reached.

@giacomo-petri giacomo-petri self-assigned this Sep 29, 2023
@giacomo-petri giacomo-petri added the editorial Changes to prose that don't alter intended meaning, e.g., phrasing, grammar. May fix inaccuracies. label Sep 29, 2023
@giacomo-petri giacomo-petri removed their assignment Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editorial Changes to prose that don't alter intended meaning, e.g., phrasing, grammar. May fix inaccuracies.
Projects
None yet
Development

No branches or pull requests

1 participant