Fix elements-without-names accesibility issues

This commit is contained in:
Pablo Alba 2022-09-27 17:54:43 +02:00
parent 7303d311d5
commit 4ef876bf58
10 changed files with 51 additions and 14 deletions

View file

@ -461,6 +461,7 @@
[:& export-progress-widget]
[:button.document-history
{:alt (tr "workspace.sidebar.history" (sc/get-tooltip :toggle-history))
:aria-label (tr "workspace.sidebar.history" (sc/get-tooltip :toggle-history))
:class (when (contains? layout :document-history) "selected")
:on-click #(st/emit! (-> (dw/toggle-layout-flag :document-history)
(vary-meta assoc ::ev/origin "workspace-header")))}