Skip to content

Commit 110dcc9

Browse files
authored
Update _rules/summary-non-empty-accessible-name-2t702h.md
1 parent 6ff7369 commit 110dcc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ This `summary` element is not a direct child of a `details` element and so will
161161

162162
#### Inapplicable Example 3
163163

164-
This `summary` element has an explicit semantic role of `button`. These are tested under [Button has non-empty accessible name][97a4e1] instead.
164+
This `summary` element has an explicit semantic role of `button`. These are tested under [Button has non-empty accessible name][97a4e1] instead. Note that while this example does not fail WCAG, [ARIA in HTML](https://www.w3.org/TR/html-aria/#dfn-no-role) does not allow overriding the role of a [summary for its parent details][details summary].
165165

166166
```html
167167
<details>

0 commit comments

Comments
 (0)