-
Notifications
You must be signed in to change notification settings - Fork 849
Open
Labels
color contrastColor contrast issuesColor contrast issuesfixBug fixesBug fixeshighHigh priorityHigh priorityrulesIssue or false result from an axe-core ruleIssue or false result from an axe-core rulesupport
Milestone
Description
Text that is decorational should not need to pass color-contrast. The main problem is figuring out how to detect that text is decorational. Color-contrast purposefully does not exclude hidden elements, so adding aria-hidden to the element does not exclude it from running. This is intentional as hidden from screen readers is not the as as hidden from visual users.
We need to figure out how best to either determine the text is decorational or a better way to markup the element to let us know it's decorational.
<div style="background: #d4e9e2; padding: 10px">
<p style="color: white">Decorational text</p>
</div>Metadata
Metadata
Assignees
Labels
color contrastColor contrast issuesColor contrast issuesfixBug fixesBug fixeshighHigh priorityHigh priorityrulesIssue or false result from an axe-core ruleIssue or false result from an axe-core rulesupport