Skip to content

Commit

Permalink
Update text-contrast-afw4f7.md
Browse files Browse the repository at this point in the history
  • Loading branch information
giacomo-petri authored Jan 23, 2024
1 parent a1ad482 commit 691b6c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _rules/text-contrast-afw4f7.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ This 14pt bold black text has a contrast ratio of 3.6:1 on the gray background.

#### Passed Example 7

Despite falling below the minimum contrast ratio, the content of the button ("X") does not convey anything in human language; as a result, it complies with this rule. However, 1.4.11 Non-Text Content should be examined for this non-text element.
Despite falling below the minimum contrast ratio, the content of the button ("X") does not convey anything in human language; as a result, it complies with this rule. However, [Success Criterion 1.4.11 Non-Text Content][sc1411] should be examined for this non-text element.

```html
<button style="color: #666; background-color: #000" aria-label="Close">X</button>
Expand Down Expand Up @@ -434,3 +434,4 @@ This text is part of a [disabled][] widget because it is a child of an element w
[user origin]: https://www.w3.org/TR/css3-cascade/#cascade-origin-user 'CSS 3, user origin'
[visible]: #visible 'Definition of Visible'
[html element]: #namespaced-element
[sc1411]: https://www.w3.org/TR/WCAG22/#non-text-contrast

0 comments on commit 691b6c3

Please sign in to comment.