fix(memory-graph): add aria-labels to zoom controls (#1662)

Signed-off-by: Karthik Rajan <karthikrajanmr@gmail.com>
This commit is contained in:
karthik rajan 2026-09-11 23:53:37 +05:30 committed by GitHub
parent 958ae8b619
commit 2415a5c796
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -165,6 +165,7 @@ export const NavigationControls = memo<NavigationControlsProps>(
<span style={labelStyle}>{zoomLevel}%</span>
<div style={zoomBtnGroupStyle}>
<button
aria-label="Zoom out"
onClick={onZoomOut}
style={zoomBtnStyle}
type="button"
@ -178,6 +179,7 @@ export const NavigationControls = memo<NavigationControlsProps>(
<span style={{ fontSize: 12 }}></span>
</button>
<button
aria-label="Zoom in"
onClick={onZoomIn}
style={zoomBtnStyle}
type="button"