Difference between revisions of "IMG with null ALT and non-null aria-labelledby attributes"

From Level Access Web Labs
Jump to navigation Jump to search
Line 1: Line 1:
 
<html>
 
<html>
   <img src="test.jpg" alt="" aria-labelledby="i1">
+
   <img tabindex="0" src="test.jpg" alt="" aria-labelledby="i1">
 
   <div id="i1"> this is a test</div>
 
   <div id="i1"> this is a test</div>
 
</html>
 
</html>
  
 
<html>
 
<html>
   <img src="test.jpg" alt="" aria-label="jon" aria-labelledby="i2">
+
   <img tabindex="1" src="test.jpg" alt="" aria-label="jon" aria-labelledby="i2">
 
   <div id="i2"></div>
 
   <div id="i2"></div>
 
</html>
 
</html>
  
 
<html>
 
<html>
   <img src="test.jpg" alt="hello" aria-label="" aria-labelledby="i3">
+
   <img tabindex="0" src="test.jpg" alt="hello" aria-label="" aria-labelledby="i3">
 
   <div id="i3"></div>
 
   <div id="i3"></div>
 
</html>
 
</html>

Revision as of 15:24, 14 November 2016

this is a test

hello