Difference between revisions of "Img Element"

From Level Access Web Labs
Jump to navigation Jump to search
(Image without title)
Line 12: Line 12:
 
==Decorative Image with null alt==
 
==Decorative Image with null alt==
 
<html>
 
<html>
<img src="spacer.jpg" alt=""/>
+
<img src="office.jpg" alt=""/>
 
</html>
 
</html>
  

Revision as of 01:56, 13 March 2018

Image missing alt

Image with alt

The image below of an office building has an alt attribute set. Office

Decorative Image with null alt

Image with title

Images with aria-label

Images with aria-labelledby

Office building

Image with role of presentation

Image with state of aria-hidden true