mirror of
https://github.com/rommapp/romm.git
synced 2026-11-30 18:42:34 +01:00
- useGridNav: keep every card in the Tab order (Tab walks card → card) while pulling the hidden in-card hover-overlay action buttons out of it (tabindex="-1"), applied eagerly on mount and re-synced as virtualised rows mount/unmount. Adds tests. - GalleryShell: opt the virtual scroller out of the tab order (tabindex="-1") so Tab no longer lands on the scroll container. - RBtn: stop the scoped `outline: none` from swallowing the global modality-gated focus ring; only clear the native UA outline for non-focus-visible (mouse) focus, so keyboard/pad show the branded ring. - RTabNav: replace the outline focus ring (clipped into vertical slivers by the nav's overflow) with a contained, rounded inset focus highlight. Generated-By: PostHog Code Task-Id: 2dcae833-1422-499e-bf58-0c555cf5e96e