Difference between revisions of "ARIA img role"

From Level Access Web Labs
Jump to navigation Jump to search
Line 34: Line 34:
 
<span id="a1">This is a label</span>
 
<span id="a1">This is a label</span>
 
<span id="a2">This is another label</span>
 
<span id="a2">This is another label</span>
 +
 +
<h3>Div with role='img' and no accessible name</h3>
 +
<div class="box" role="img">
 +
x
 +
</div>
 +
 
</body
 
</body
 
</html>
 
</html>
  
 
[[Category:ARIA]]
 
[[Category:ARIA]]

Revision as of 19:42, 9 June 2016

Div with role='img' and aria-label

Span with role='img' and aria-label

x

Div with role='img' and aria-labelledby

Span with role='img' and aria-labelledby

x This is a label This is another label

Div with role='img' and no accessible name