You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _rules/button-non-empty-accessible-name-97a4e1.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,6 +42,8 @@ Each target element has an [accessible name][] that is not empty (`""`).
42
42
43
43
## Background
44
44
45
+
This rule considers an exception for "image buttons" (i.e., `input` elements with a `type`[attribute value] of `image`). Image buttons failing this rule would fail [Success Criterion 4.1.2](https://www.w3.org/WAI/WCAG21/Understanding/name-role-value) and [Success Criterion 1.1.1](https://www.w3.org/WAI/WCAG21/Understanding/non-text-content) which is not part of the accessibility requirements for this rule.
46
+
45
47
### Related rules
46
48
47
49
-[Image button has non-empty accessible name](https://act-rules.github.io/rules/59796f)
0 commit comments