Add aria-label to undo/redo buttons (#1115)
This commit is contained in:
parent
dd5c4ae66e
commit
34d06b17b3
1 changed files with 2 additions and 0 deletions
|
@ -52,6 +52,7 @@ export function _TopPanel({
|
||||||
label={intl.formatMessage({ id: 'undo' })}
|
label={intl.formatMessage({ id: 'undo' })}
|
||||||
onClick={app.undo}
|
onClick={app.undo}
|
||||||
id="TD-TopPanel-Undo"
|
id="TD-TopPanel-Undo"
|
||||||
|
aria-label={intl.formatMessage({ id: 'undo' })}
|
||||||
>
|
>
|
||||||
<UndoIcon />
|
<UndoIcon />
|
||||||
</ToolButtonWithTooltip>
|
</ToolButtonWithTooltip>
|
||||||
|
@ -60,6 +61,7 @@ export function _TopPanel({
|
||||||
label={intl.formatMessage({ id: 'redo' })}
|
label={intl.formatMessage({ id: 'redo' })}
|
||||||
onClick={app.redo}
|
onClick={app.redo}
|
||||||
id="TD-TopPanel-Redo"
|
id="TD-TopPanel-Redo"
|
||||||
|
aria-label={intl.formatMessage({ id: 'redo' })}
|
||||||
>
|
>
|
||||||
<UndoIcon flipHorizontal />
|
<UndoIcon flipHorizontal />
|
||||||
</ToolButtonWithTooltip>
|
</ToolButtonWithTooltip>
|
||||||
|
|
Loading…
Reference in a new issue