From a5011b58ac31df8e1710c9c51bdf510baf2d51da Mon Sep 17 00:00:00 2001 From: Mitchell McCaffrey Date: Mon, 20 Apr 2020 23:54:07 +1000 Subject: [PATCH] Added aria-labels to color pickers --- src/components/MapControls.js | 1 + src/components/TokenMenu.js | 1 + 2 files changed, 2 insertions(+) diff --git a/src/components/MapControls.js b/src/components/MapControls.js index 9d8482f..2e9b33f 100644 --- a/src/components/MapControls.js +++ b/src/components/MapControls.js @@ -63,6 +63,7 @@ function MapControls({ cursor: "pointer", }} onClick={() => onBrushColorChange(color)} + aria-label={`Brush Color ${color}`} > {brushColor === color && ( handleStatusChange(color)} + aria-label={`Token label Color ${color}`} > {currentToken.status && currentToken.status.includes(color) && (