Hide collapse from screenreaders
Co-Authored-By: Georg Gadinger <nilsding@nilsding.org>
This commit is contained in:
parent
a8fb9fd701
commit
a2139213c7
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue