From 34d06b17b373c66afd62d9c6f8e5c4fd4380a876 Mon Sep 17 00:00:00 2001 From: Jang Min Date: Fri, 3 Feb 2023 01:10:42 +0900 Subject: [PATCH] Add aria-label to undo/redo buttons (#1115) --- packages/tldraw/src/components/TopPanel/TopPanel.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/tldraw/src/components/TopPanel/TopPanel.tsx b/packages/tldraw/src/components/TopPanel/TopPanel.tsx index c0f416086..e99735dd2 100644 --- a/packages/tldraw/src/components/TopPanel/TopPanel.tsx +++ b/packages/tldraw/src/components/TopPanel/TopPanel.tsx @@ -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' })} > @@ -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' })} >