mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-10 20:09:57 +00:00
Edittemplate toolbar improve accessibility (#8324)
* change aria-label from caption to hint to make it more descriptive * add indentation
This commit is contained in:
parent
ffbef16152
commit
753a820945
@ -4,7 +4,11 @@ caption: {{$:/core/images/cancel-button}} {{$:/language/Buttons/Cancel/Caption}}
|
|||||||
description: {{$:/language/Buttons/Cancel/Hint}}
|
description: {{$:/language/Buttons/Cancel/Hint}}
|
||||||
|
|
||||||
\whitespace trim
|
\whitespace trim
|
||||||
<$button actions=<<cancel-delete-tiddler-actions "cancel">> tooltip={{$:/language/Buttons/Cancel/Hint}} aria-label={{$:/language/Buttons/Cancel/Caption}} class=<<tv-config-toolbar-class>>>
|
<$button actions=<<cancel-delete-tiddler-actions "cancel">>
|
||||||
|
tooltip={{$:/language/Buttons/Cancel/Hint}}
|
||||||
|
aria-label={{$:/language/Buttons/Cancel/Hint}}
|
||||||
|
class=<<tv-config-toolbar-class>>
|
||||||
|
>
|
||||||
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
||||||
{{$:/core/images/cancel-button}}
|
{{$:/core/images/cancel-button}}
|
||||||
<%endif%>
|
<%endif%>
|
||||||
|
@ -8,7 +8,7 @@ description: {{$:/language/Buttons/Save/Hint}}
|
|||||||
<$fieldmangler>
|
<$fieldmangler>
|
||||||
<$button
|
<$button
|
||||||
tooltip={{$:/language/Buttons/Save/Hint}}
|
tooltip={{$:/language/Buttons/Save/Hint}}
|
||||||
aria-label={{$:/language/Buttons/Save/Caption}}
|
aria-label={{$:/language/Buttons/Save/Hint}}
|
||||||
class=<<tv-config-toolbar-class>>
|
class=<<tv-config-toolbar-class>>
|
||||||
>
|
>
|
||||||
<<save-tiddler-actions>>
|
<<save-tiddler-actions>>
|
||||||
|
Loading…
Reference in New Issue
Block a user