Skip to content
Snippets Groups Projects
Unverified Commit 86bead49 authored by Arnaud Levy's avatar Arnaud Levy Committed by GitHub
Browse files

Fix (#2147)

parent 8376aeb3
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@ module Osuny
note, text_after_note = part.split('</note>')
label = I18n.t('notes.label', index: @index)
html = '<span class="note" role="note">'
html += "<span class=\"note__call\" role=\"button\" tabindex=\"0\" aria-label=\"#{label}\">#{@index}</span>"
html += "<span class=\"note__call\" role=\"button\" tabindex=\"0\" aria-expanded=\"false\" aria-label=\"#{label}\">#{@index}</span>"
html += "<span class=\"note__content\" aria-hidden=\"true\" aria-live=\"polite\">#{note}</span>"
html += "</span>"
html += text_after_note
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment