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
button name move assumption to the correct section (#2286)
* button name move assumption to the correct section
* Update button-non-empty-accessible-name-97a4e1.md
* Update button-non-empty-accessible-name-97a4e1.md
Copy file name to clipboardExpand all lines: _rules/button-non-empty-accessible-name-97a4e1.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,12 +39,12 @@ This rule considers an exception for "image buttons" (i.e., `input` elements wit
39
39
40
40
- The rule assumes that all buttons are [user interface components as defined by WCAG 2](https://www.w3.org/TR/WCAG22/#dfn-user-interface-components).
41
41
42
+
- Some elements have a role of `button` and a default accessible name defined by the [HTML Accessibility API Mapping][html aam input button], for example `input` elements whose `type`[attribute value][] is either `submit` or `reset`. This rule considers that these default names can be descriptive and therefore does not fail them.
43
+
42
44
### Accessibility Support
43
45
44
46
- Implementation of [Presentational Roles Conflict Resolution][] varies from one browser or assistive technology to another. Depending on this, some elements can have a [semantic role][] of `button` and fail this rule with some technology but users of other technologies would not experience any accessibility issue.
45
47
46
-
- Some elements have a role of `button` and a default accessible name defined by the [HTML Accessibility API Mapping][html aam input button], for example `input` elements whose `type`[attribute value][] is either `submit` or `reset`. This rule considers that these default names can be descriptive and therefore does not fail them.
47
-
48
48
### Related rules
49
49
50
50
-[Image button has non-empty accessible name](https://www.w3.org/WAI/standards-guidelines/act/rules/59796f/)
@@ -226,7 +226,7 @@ This `button` element has an [explicit role][] of `none`; it is not [focusable][
226
226
[attribute value]: #attribute-value'Definition of Attribute Value'
227
227
[explicit role]: #explicit-role'Definition of explicit role'
228
228
[focusable]: #focusable'Definition of focusable'
229
-
[html aam input button]: https://www.w3.org/TR/html-aam-1.0/#input-type-button-input-type-submit-and-input-type-reset'HTML Accessibility API Mapping, reset and submit buttons'
229
+
[html aam input button]: https://www.w3.org/TR/html-aam-1.0/#input-type-button-input-type-submit-and-input-type-reset-accessible-name-computation'HTML Accessibility API Mapping, input button, input, and reset accessible name'
230
230
[included in the accessibility tree]: #included-in-the-accessibility-tree'Definition of included in the accessibility tree'
0 commit comments