Content warning button tab index

merge-requests/30/head
Bob Mottram 2022-06-09 18:38:47 +01:00
parent f0b9757bde
commit 9436b952b0
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ def get_content_warning_button(post_id: str, translate: {},
content: str) -> str:
"""Returns the markup for a content warning button
"""
return ' <details><summary class="cw">' + \
return ' <details><summary class="cw" tabindex="10">' + \
translate['SHOW MORE'] + '</summary>' + \
'<div id="' + post_id + '">' + content + \
'</div></details>\n'