mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-22 14:09:30 -07:00
fix: enhance accessibility with tabIndex (#355)
- Add `tabIndex="-1"` to the navigation item for accessibility
This commit is contained in:
@@ -83,6 +83,7 @@ export default function StageNav(props: {
|
|||||||
onKeyDown={handleKey}
|
onKeyDown={handleKey}
|
||||||
onFocus={() => props.setHoverText(item)}
|
onFocus={() => props.setHoverText(item)}
|
||||||
onMouseOver={() => props.setHoverText(item)}
|
onMouseOver={() => props.setHoverText(item)}
|
||||||
|
tabIndex="-1"
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</For>
|
</For>
|
||||||
|
|||||||
Reference in New Issue
Block a user