1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-30 05:19:57 +00:00

ViewTemplate toolbar add, change aria-label to hint so it is more descriptive (#8323)

This commit is contained in:
Mario Pietsch 2024-09-10 18:13:58 +02:00 committed by GitHub
parent 4f4e055091
commit ffbef16152
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 51 additions and 34 deletions

View File

@ -4,7 +4,11 @@ caption: {{$:/core/images/delete-button}} {{$:/language/Buttons/Delete/Caption}}
description: {{$:/language/Buttons/Delete/Hint}} description: {{$:/language/Buttons/Delete/Hint}}
\whitespace trim \whitespace trim
<$button actions=<<cancel-delete-tiddler-actions "delete">> tooltip={{$:/language/Buttons/Delete/Hint}} aria-label={{$:/language/Buttons/Delete/Caption}} class=<<tv-config-toolbar-class>>> <$button actions=<<cancel-delete-tiddler-actions "delete">>
tooltip={{$:/language/Buttons/Delete/Hint}}
aria-label={{$:/language/Buttons/Delete/Hint}}
class=<<tv-config-toolbar-class>>
>
<%if [<tv-config-toolbar-icons>match[yes]] %> <%if [<tv-config-toolbar-icons>match[yes]] %>
{{$:/core/images/delete-button}} {{$:/core/images/delete-button}}
<%endif%> <%endif%>

View File

@ -4,7 +4,12 @@ caption: {{$:/core/images/clone-button}} {{$:/language/Buttons/Clone/Caption}}
description: {{$:/language/Buttons/Clone/Hint}} description: {{$:/language/Buttons/Clone/Hint}}
\whitespace trim \whitespace trim
<$button message="tm-new-tiddler" param=<<currentTiddler>> tooltip={{$:/language/Buttons/Clone/Hint}} aria-label={{$:/language/Buttons/Clone/Caption}} class=<<tv-config-toolbar-class>>> <$button message="tm-new-tiddler"
param=<<currentTiddler>>
tooltip={{$:/language/Buttons/Clone/Hint}}
aria-label={{$:/language/Buttons/Clone/Hint}}
class=<<tv-config-toolbar-class>>
>
<%if [<tv-config-toolbar-icons>match[yes]] %> <%if [<tv-config-toolbar-icons>match[yes]] %>
{{$:/core/images/clone-button}} {{$:/core/images/clone-button}}
<%endif%> <%endif%>

View File

@ -4,7 +4,11 @@ caption: {{$:/core/images/close-button}} {{$:/language/Buttons/Close/Caption}}
description: {{$:/language/Buttons/Close/Hint}} description: {{$:/language/Buttons/Close/Hint}}
\whitespace trim \whitespace trim
<$button message="tm-close-tiddler" tooltip={{$:/language/Buttons/Close/Hint}} aria-label={{$:/language/Buttons/Close/Caption}} class=<<tv-config-toolbar-class>>> <$button message="tm-close-tiddler"
tooltip={{$:/language/Buttons/Close/Hint}}
aria-label={{$:/language/Buttons/Close/Caption}}
class=<<tv-config-toolbar-class>>
>
<%if [<tv-config-toolbar-icons>match[yes]] %> <%if [<tv-config-toolbar-icons>match[yes]] %>
{{$:/core/images/close-button}} {{$:/core/images/close-button}}
<%endif%> <%endif%>

View File

@ -4,7 +4,11 @@ caption: {{$:/core/images/edit-button}} {{$:/language/Buttons/Edit/Caption}}
description: {{$:/language/Buttons/Edit/Hint}} description: {{$:/language/Buttons/Edit/Hint}}
\whitespace trim \whitespace trim
<$button message="tm-edit-tiddler" tooltip={{$:/language/Buttons/Edit/Hint}} aria-label={{$:/language/Buttons/Edit/Caption}} class=<<tv-config-toolbar-class>>> <$button message="tm-edit-tiddler"
tooltip={{$:/language/Buttons/Edit/Hint}}
aria-label={{$:/language/Buttons/Edit/Hint}}
class=<<tv-config-toolbar-class>>
>
<%if [<tv-config-toolbar-icons>match[yes]] %> <%if [<tv-config-toolbar-icons>match[yes]] %>
{{$:/core/images/edit-button}} {{$:/core/images/edit-button}}
<%endif%> <%endif%>