toolbar: hide icons from a11y tools

There are already ARIA labels, so the icons should be hidden.
This commit is contained in:
David Lechner
2022-05-13 14:44:26 -05:00
parent 7322c9d667
commit dc2daf2fe4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -109,10 +109,10 @@ const ActionButton: React.VoidFunctionComponent<ActionButtonProps> = ({
/>
) : (
<img
aria-hidden={true}
width={`${buttonSize}px`}
height={`${buttonSize}px`}
src={icon}
alt={label}
/>
)}
</Button>
+1 -1
View File
@@ -126,10 +126,10 @@ const OpenFileButton: React.VoidFunctionComponent<OpenFileButtonProps> = ({
/>
) : (
<img
aria-hidden={true}
width={`${buttonSize}px`}
height={`${buttonSize}px`}
src={icon}
alt={label}
/>
)}
</Button>