role img
suggest changeA container for a collection of elements that form an image.
<figure role="img" aria-label="Albert the cat">
<img alt="" src="albert.jpg">
<figcaption>This is my cat, Albert.</figcaption>
</figure>
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents