Added aria-labels to color pickers
This commit is contained in:
parent
d2474ae198
commit
a5011b58ac
@ -63,6 +63,7 @@ function MapControls({
|
||||
cursor: "pointer",
|
||||
}}
|
||||
onClick={() => onBrushColorChange(color)}
|
||||
aria-label={`Brush Color ${color}`}
|
||||
>
|
||||
{brushColor === color && (
|
||||
<Box
|
||||
|
@ -160,6 +160,7 @@ function TokenMenu({ tokenClassName, onTokenChange }) {
|
||||
cursor: "pointer",
|
||||
}}
|
||||
onClick={() => handleStatusChange(color)}
|
||||
aria-label={`Token label Color ${color}`}
|
||||
>
|
||||
{currentToken.status && currentToken.status.includes(color) && (
|
||||
<Box
|
||||
|
Loading…
Reference in New Issue
Block a user