From ab7b30c6b7f75423131b91c5926a712d5448ce04 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Thu, 14 May 2026 17:42:33 +0000 Subject: [PATCH] feat(ux): Add ARIA attributes to MapControls buttons Added `aria-label`, `aria-pressed`, and `type="button"` attributes to the 2D, 3D, GLOBE, auto-spin, and style picker buttons within the `MapControls` component to improve accessibility for screen readers and keyboard navigation. Co-authored-by: d3mocide <136547209+d3mocide@users.noreply.github.com> --- frontend/src/components/map/MapControls.tsx | 32 +++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/map/MapControls.tsx b/frontend/src/components/map/MapControls.tsx index 2e2a57b8..4b8445e5 100644 --- a/frontend/src/components/map/MapControls.tsx +++ b/frontend/src/components/map/MapControls.tsx @@ -135,6 +135,7 @@ export function MapControls({ {/* Bearing */}
- {divider} @@ -199,9 +216,12 @@ export function MapControls({ )} @@ -247,6 +273,7 @@ export function MapControls({ {/* Zoom */}