<div role="img" aria-label="Description of the overall image">
<img src="graphic1.png" alt="" />
<img src="graphic2.png" alt="" />
</div>ARIA: img role / notebook
ARIA: img role
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.
<div role="img" aria-label="Description of the overall image">
<img src="graphic1.png" alt="alternative text" />
<img src="graphic2.png" alt="in case the images don't load" />
</div><div role="img" aria-labelledby="image-1">
…
<p id="image-1">Text that describes the group of images.</p>
</div><svg role="img" aria-label="Description of your SVG image">
<!-- contents of the SVG image -->
</svg><div role="img" aria-label="That cat is so cute">
<p>🐈 😂</p>
</div><div role="img" aria-label="Table flip">
<p>(╯°□°)╯︵ ┻━┻</p>
</div><div role="img"><h3>Title of my image</h3></div><div role="img"><h3 role="presentation">Title of my image</h3></div><div role="img">Title of my image</div><span role="img" aria-label="Rating: 4 out of 5 stars">
<span>★</span>
<span>★</span>
<span>★</span>
<span>★</span>
<span>☆</span>
</span>