mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-11 11:28:07 -06:00
[bugfix/frontend] Fix accessibility/focus issues in settings + web ui
This commit is contained in:
parent
365b575341
commit
bfee7041c0
23 changed files with 380 additions and 152 deletions
|
|
@ -51,7 +51,13 @@ media photoswipe-gallery {{ (len .) | oddOrEven }} {{ if eq (len .) 1 }}single{{
|
|||
<div class="spoiler-content p-summary" lang="{{- .LanguageTag.TagStr -}}">
|
||||
{{ noescape .SpoilerContent | emojify .Emojis }}
|
||||
</div>
|
||||
<span class="button" role="button" tabindex="0">Toggle visibility</span>
|
||||
{{- with . }}
|
||||
{{- /*
|
||||
IMPORTANT: Button semantics and aria labels in "button" class below are added in
|
||||
frontend/index.js, as the button doesn't function as a button without javascript.
|
||||
*/ -}}
|
||||
{{- end }}
|
||||
<span class="button">Toggle visibility</span>
|
||||
</summary>
|
||||
<div class="text">
|
||||
{{- with . }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue