Difference between revisions of "ARIA img role"

From Level Access Web Labs
Jump to navigation Jump to search
Line 21: Line 21:
  
 
<h3>Div with role='img' and aria-labelledby</h3>
 
<h3>Div with role='img' and aria-labelledby</h3>
<div class="box" role="img" aria-label="this is an ARIA label on a div">
+
<div class="box" role="img" aria-labelledby="a1">
 
</div>
 
</div>
  

Revision as of 19:37, 9 June 2016

Div with role='img' and aria-label

Span with role='img' and aria-label

Div with role='img' and aria-labelledby

Span with role='img' and aria-labelledby

This is a label This is another label