mirror of
https://github.com/bitbaum/vitareba.git
synced 2026-12-04 04:17:20 +01:00
The sidebar and the bottom bar both set aria-current. The "More" sheet did not — so the destinations that happened to land behind the overflow were precisely the ones a screen-reader user could not locate themselves in. `isActive` and `pathname` were already in scope; the call was simply missing. Two more defects on the same surface, both of which the rest of the app already gets right: - `.moreSheetItem` came out near 41px tall — 0.65rem of padding around 0.85rem text at this root size. `.bottomNavItem` states `min-height: 44px` explicitly; the overflow sheet is the same kind of touch surface, so it now says the minimum instead of arriving near it by arithmetic. - Hover and focus were one rule ending in `outline: none`, so keyboard focus was indicated by a 7%-white wash and nothing else: the weakest possible signal, on the surface where a keyboard user most needs to know where they are. Focus now gets a real ring; hover keeps the wash. Found by a fleet-wide navigation audit across 20 repos, which found the same one-straggler shape in aoz-housing, fleetcrown and evig — four teams applying a rule correctly on every surface but one. Typecheck clean; 1306 tests pass. Claude-Session: https://claude.ai/code/session_01XeELB8b3N4JrT2asYL9WvE Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>