Figure and caption (figure-figcaption)
Ensure captioned images and diagrams are marked up with a <figure> element containing a <figcaption>.
div instead of figure:
In this example there is used <div> instead of <figure>
Diagram showing network connections.
The (DOM/programmatic) structure of the example image & paragraph above looks like this:
<div>
<img src="../../../assets/images/diagram.png" width="500" alt="A network diagram" />
<p>Diagram showing network connections.</p>
</div>
<img src="../../../assets/images/diagram.png" width="500" alt="A network diagram" />
<p>Diagram showing network connections.</p>
</div>