Skip to content

Commit

Permalink
Transcription : correction de l'id d'aria-control (#766)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexisben authored Nov 25, 2024
1 parent 95f9726 commit 54c9810
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/commons/transcription.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
{{ $id := printf "block-%d-transcription" $block_index}}
{{ $title := .title | default ( i18n "commons.accessibility.transcription" ) }}
<div class="transcription">
<details id="{{$id}}">
<summary aria-controls="#{{ $id }}" aria-expanded="false">{{ $title }}</summary>
<details id="{{- $id -}}">
<summary aria-controls="{{- $id -}}" aria-expanded="false">{{ $title }}</summary>
{{- $transcription := partial "PrepareHTML" .transcription -}}
{{ safeHTML $transcription }}
</details>
Expand Down

0 comments on commit 54c9810

Please sign in to comment.