Skip to content

Commit 33dcdd7

Browse files
Update aria-required-accessible-name-gp8n89.md
1 parent 9dc8c7f commit 33dcdd7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_rules/aria-required-accessible-name-gp8n89.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,11 +200,11 @@ The `div` element with role `heading` has an empty [accessible name][] due to th
200200

201201
#### Failed Example 7
202202

203-
The `div` element with role `heading` has an empty [accessible name][] given by its `aria-labelledby` attribute.
203+
The `button` element has an empty [accessible name][] given by its `aria-labelledby` attribute.
204204

205205
```html
206206
<span id="fail-heading"></span>
207-
<div role="heading" aria-level="1" aria-labelledby="fail-heading">ACT Rules</div>
207+
<button aria-labelledby="fail-heading">Submit</button>
208208
```
209209

210210
#### Failed Example 8

0 commit comments

Comments
 (0)