mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-27 14:12:09 +00:00
Remove aria-description from figures
Causes repetition in some screen readers.
This commit is contained in:
parent
0dc6ee1258
commit
6aa7656411
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue