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-in-non-elem.../input.svelte

11 lines
178 B

<script>
let caption = 'a foo in its natural habitat';
</script>
<figure>
<img src='foo.jpg' alt='a foo'>
{#if caption}
<figcaption>{caption}</figcaption>
{/if}
</figure>