Skip to content

Commit 79e1d94

Browse files
authored
button name move assumption to the correct section
1 parent f7117b5 commit 79e1d94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_rules/button-non-empty-accessible-name-97a4e1.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ This rule considers an exception for "image buttons" (i.e., `input` elements wit
3939

4040
- 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).
4141

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+
4244
### Accessibility Support
4345

4446
- 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.
4547

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-
4848
### Related rules
4949

5050
- [Image button has non-empty accessible name](https://www.w3.org/WAI/standards-guidelines/act/rules/59796f/)

0 commit comments

Comments
 (0)