mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-12-29 03:22:11 +00:00
372589a57a
- Identify the transcript with a subheading, ending in a period so that the aria-description separates the identifier from the concept. - Put the transcript in a <section> - Snuck in a trivial syntax fix for the generator element.
11 lines
252 B
HTML
11 lines
252 B
HTML
<details>
|
|
<summary>Toggle transcript</summary>
|
|
{{ with .Parent -}}
|
|
<section id="transcript-{{ .Get "id" }}">
|
|
<h5>Image transcript.</h5>
|
|
{{- end -}}
|
|
<div itemprop="embeddedTextCaption">
|
|
{{ .Inner | markdownify | safeHTML }}
|
|
</div>
|
|
</section>
|
|
</details>
|