You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/test/validator/samples/a11y-figcaption-wrong-place/input.svelte

19 lines
346 B

<figure>
<img src='foo.jpg' alt='a picture of a foo'>
<figcaption>
a foo in its natural habitat
</figcaption>
<p>this should not be here</p>
</figure>
<figure>
<img src='foo.jpg' alt='a picture of a foo'>
<div class='markup-for-styling'>
<figcaption>
this element should be a child of the figure
</figcaption>
</div>
</figure>