Skip to content

Commit 70e6e12

Browse files
fix-broken-summary-link (#2213)
* fix-broken-summary-link * Add link destination to ensure it works properly * Update summary-non-empty-accessible-name-2t702h.md --------- Co-authored-by: Daniel <dmontalvo@w3.org>
1 parent b379b0c commit 70e6e12

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

_rules/summary-non-empty-accessible-name-2t702h.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ acknowledgments:
2121

2222
## Applicability
2323

24-
This rule applies to HTML `summary` elements for which all the following is true:
24+
This rule applies to HTML `summary` elements for which all the following are true:
2525

2626
- the element is [included in the accessibility tree][]; and
2727
- the element works as the [summary button for its parent `details` element][details summary]; and
28-
- the element has no [explicit role][], or the [explicit role][] is ignored due to a [presentational role conflict][].
28+
- the element has no [explicit role][], or the [explicit role][] is ignored due to a [presentational role conflict][presentational roles conflict].
2929

3030
## Expectation
3131

@@ -130,7 +130,7 @@ This `summary` element has no [accessible name][], or an accessible name with ju
130130

131131
#### Failed Example 2
132132

133-
This `summary` element has an [explicit role][] of `none`. However, it is [focusable][] (by default) which causes [Presentational Roles Conflict Resolution][]. It fails because it has an empty [accessible name][].
133+
This `summary` element has an [explicit role][] of `none`. However, it is [focusable][] (by default) which causes [Presentational Roles Conflict Resolution][presentational roles conflict]. It fails because it has an empty [accessible name][].
134134

135135
```html
136136
<details>
@@ -200,7 +200,7 @@ This `summary` element is hidden to everyone.
200200
[explicit role]: #explicit-role 'Definition of explicit role'
201201
[focusable]: #focusable 'Definition of focusable'
202202
[included in the accessibility tree]: #included-in-the-accessibility-tree 'Definition of included in the accessibility tree'
203-
[presentational roles conflict resolution]: https://www.w3.org/TR/wai-aria-1.2/#conflict_resolution_presentation_none 'Presentational Roles Conflict Resolution'
203+
[presentational roles conflict]: https://www.w3.org/TR/wai-aria-1.2/#conflict_resolution_presentation_none 'Presentational Roles Conflict Resolution'
204204
[details summary]: https://html.spec.whatwg.org/multipage/interactive-elements.html#summary-for-its-parent-details ' HTML 5 definition of summary for its parent details'
205205
[97a4e1]: https://www.w3.org/WAI/standards-guidelines/act/rules/97a4e1/
206206
[6cfa84]: https://www.w3.org/WAI/standards-guidelines/act/rules/6cfa84/

0 commit comments

Comments
 (0)