File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -93,17 +93,17 @@ The `div` element with role `img` has an [accessible name][] provided by the `ar
93
93
The ` div ` element with role ` checkbox ` has an [ accessible name] [ ] provided thanks to the ` aria-labelledby ` attribute.
94
94
95
95
``` html
96
- <div role =" checkbox" aria-checked =" false" tabindex =" 0" aria-labelledby =" passed-example-3 " ></div >
97
- <div id =" passed-example-3 " >I agree with terms and conditions</div >
96
+ <div role =" checkbox" aria-checked =" false" tabindex =" 0" aria-labelledby =" pass-agree-tc " ></div >
97
+ <div id =" pass-agree-tc " >I agree with terms and conditions</div >
98
98
```
99
99
100
100
#### Passed Example 4
101
101
102
102
The ` div ` element with role ` dialog ` has an [ accessible name] [ ] provided by the ` aria-labelledby ` attribute.
103
103
104
104
``` html
105
- <div role =" dialog" aria-modal =" true" tabindex =" -1" aria-labelledby =" passed-example-4 " >
106
- <h1 id =" passed-example-4 " >Terms</h1 >
105
+ <div role =" dialog" aria-modal =" true" tabindex =" -1" aria-labelledby =" pass-terms " >
106
+ <h1 id =" pass-terms " >Terms</h1 >
107
107
<p >These are our terms.</p >
108
108
</div >
109
109
```
@@ -185,8 +185,8 @@ The `div` element with role `heading` has an empty [accessible name][] due to th
185
185
The ` div ` element with role ` heading ` has an empty [ accessible name] [ ] given by its ` aria-labelledby ` attribute.
186
186
187
187
``` html
188
- <span id =" failed-example-3 " ></span >
189
- <div role =" heading" aria-level =" 1" aria-labelledby =" failed-example-3 " >ACT Rules</div >
188
+ <span id =" fail-heading " ></span >
189
+ <div role =" heading" aria-level =" 1" aria-labelledby =" fail-heading " >ACT Rules</div >
190
190
```
191
191
192
192
#### Failed Example 7
You can’t perform that action at this time.
0 commit comments