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' })}
|
||||
onClick={app.undo}
|
||||
id="TD-TopPanel-Undo"
|
||||
aria-label={intl.formatMessage({ id: 'undo' })}
|
||||
>
|
||||
<UndoIcon />
|
||||
</ToolButtonWithTooltip>
|
||||
|
@ -60,6 +61,7 @@ export function _TopPanel({
|
|||
label={intl.formatMessage({ id: 'redo' })}
|
||||
onClick={app.redo}
|
||||
id="TD-TopPanel-Redo"
|
||||
aria-label={intl.formatMessage({ id: 'redo' })}
|
||||
>
|
||||
<UndoIcon flipHorizontal />
|
||||
</ToolButtonWithTooltip>
|
||||
|
|
Loading…
Reference in a new issue