mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-15 01:42:10 +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>
|