1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-12-24 01:42:10 +00:00

Remove aria-description from figures

Causes repetition in some screen readers.
This commit is contained in:
Rohan Kumar 2022-04-22 08:48:20 -07:00
parent 0dc6ee1258
commit 6aa7656411
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

@ -7,6 +7,6 @@
The full caption is too long for an aria-label;
just use the beginning for the label and the full thing for the aria description.
-->
<figure aria-labelledby="{{ $id }}" aria-describedby="{{ $id }}-caption" itemscope itemtype="https://schema.org/SoftwareSourceCode">
<figure aria-labelledby="{{ $id }}" itemscope itemtype="https://schema.org/SoftwareSourceCode">
{{ .Inner | markdownify }}
</figure>