Skip to content

Commit ed0c5b2

Browse files
authored
Update img-allowed-roles.html (#470)
1 parent 190aebe commit ed0c5b2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/img-allowed-roles.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ <h3>Test 1</h3>
8383
<p><img src=# alt=switch role=switch aria-checked=false tabindex="0"></p>
8484
<p role=tablist><img src=# alt=tab tabindex=0 role=tab aria-selected=true></p>
8585
<p role=tree><img src=# alt=treeitem role=treeitem tabindex=0></p>
86+
<p><img src=# alt=doc-cover role=doc-cover></p>
8687

8788
<p>with title</p>
8889
<p><img src=# title=image role=img></p>
@@ -101,6 +102,7 @@ <h3>Test 1</h3>
101102
<p><img src=# title=switch role=switch aria-checked=false tabindex="0"></p>
102103
<p role=tablist><img src=# title=tab tabindex=0 role=tab aria-selected=true></p>
103104
<p role=tree><img src=# title=treeitem role=treeitem tabindex=0></p>
105+
<p><img src=# title=doc-cover role=doc-cover></p>
104106

105107
<p>with aria-label</p>
106108
<p><img src=# aria-label=image role=img></p>
@@ -119,6 +121,7 @@ <h3>Test 1</h3>
119121
<p><img src=# aria-label=switch role=switch aria-checked=false tabindex="0"></p>
120122
<p role=tablist><img src=# aria-label=tab tabindex=0 role=tab aria-selected=true></p>
121123
<p role=tree><img src=# aria-label=treeitem role=treeitem tabindex=0></p>
124+
<p><img src=# aria-label=doc-cover role=doc-cover></p>
122125

123126
<p id=al>with aria-labelledby</p>
124127
<p><img src=# aria-labelledby=al role=img></p>
@@ -137,6 +140,7 @@ <h3>Test 1</h3>
137140
<p><img src=# aria-labelledby=al role=switch aria-checked=false tabindex="0"></p>
138141
<p role=tablist><img src=# aria-labelledby=al tabindex=0 role=tab aria-selected=true></p>
139142
<p role=tree><img src=# aria-labelledby=al role=treeitem tabindex=0></p>
143+
<p><img src=# aria-labelledby=al role=doc-cover></p>
140144
</div>
141145

142146
<p><strong>Expected result:</strong>

0 commit comments

Comments
 (0)