Hide collapse from screenreaders

Co-Authored-By: Georg Gadinger <nilsding@nilsding.org>
This commit is contained in:
Andreas Nedbal 2023-01-12 19:55:22 +01:00 committed by Andreas Nedbal
parent a8fb9fd701
commit a2139213c7
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
.collapser
.collapser{ aria: { hidden: "true" } }
%button.btn.btn-primary.btn-sm.shadow{ data: { collapse_target: "action" } }
%span.shown-text= t(".#{type}.hide")
%span.collapsed-text= t(".#{type}.show")