From dc2daf2fe4b6baefc9485b1563e8b843f4aafe62 Mon Sep 17 00:00:00 2001 From: David Lechner Date: Fri, 13 May 2022 14:44:26 -0500 Subject: [PATCH] toolbar: hide icons from a11y tools There are already ARIA labels, so the icons should be hidden. --- src/toolbar/ActionButton.tsx | 2 +- src/toolbar/OpenFileButton.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/toolbar/ActionButton.tsx b/src/toolbar/ActionButton.tsx index 64771e8d..1d29396b 100644 --- a/src/toolbar/ActionButton.tsx +++ b/src/toolbar/ActionButton.tsx @@ -109,10 +109,10 @@ const ActionButton: React.VoidFunctionComponent = ({ /> ) : ( {label} )} diff --git a/src/toolbar/OpenFileButton.tsx b/src/toolbar/OpenFileButton.tsx index 78db8aea..4478a14b 100644 --- a/src/toolbar/OpenFileButton.tsx +++ b/src/toolbar/OpenFileButton.tsx @@ -126,10 +126,10 @@ const OpenFileButton: React.VoidFunctionComponent = ({ /> ) : ( {label} )}