mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-09-11 22:51:05 +00:00
fix(memory-graph): add aria-labels to zoom controls (#1662)
Signed-off-by: Karthik Rajan <karthikrajanmr@gmail.com>
This commit is contained in:
parent
958ae8b619
commit
2415a5c796
1 changed files with 2 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue