mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-30 05:19:57 +00:00
Add aria labels to palette switcher
Co-authored-by: Mario Pietsch <pmariojo@gmail.com>
This commit is contained in:
parent
bad9517153
commit
46da1619af
@ -10,7 +10,7 @@ title: $:/snippets/paletteswitcher
|
||||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/Palette]sort[name]]">
|
||||
<$set name="cls" filter="[all[current]prefix{$:/palette}]" value="tc-chooser-item tc-chosen" emptyValue="tc-chooser-item">
|
||||
<div class=<<cls>>>
|
||||
<$link to={{!!title}}>
|
||||
<$link to={{!!title}} aria-label=`${[[$:/language/ControlPanel/Palette/Caption]get[text]]}$ - ${[all[current]get[name]]}$. ${[all[current]get[description]]}$`>
|
||||
{{||$:/snippets/currpalettepreview}}
|
||||
<div class="tc-chooser-item-description">
|
||||
''<$view field="name" format="text"/>''
|
||||
|
Loading…
Reference in New Issue
Block a user