Figure and caption (figure-figcaption)
Ensure captioned images and diagrams are marked up with a <figure> element containing a <figcaption>.
Caption text outside figure:
In this example a <figure> is present, but the text that serves as the caption is placed outside the figure instead of inside a <figcaption>.
Diagram showing network connections.
<figure>
<img src="../../../assets/images/diagram.png" width="500" alt="A network diagram" />
</figure>
<p>Diagram showing network connections.</p>
<img src="../../../assets/images/diagram.png" width="500" alt="A network diagram" />
</figure>
<p>Diagram showing network connections.</p>