Skip to content

fix(nav): the sidebar highlighted the current page and never announced it - #74

Merged
github-actions[bot] merged 1 commit into
mainfrom
fix/nav-contract
Aug 31, 2026
Merged

fix(nav): the sidebar highlighted the current page and never announced it#74
github-actions[bot] merged 1 commit into
mainfrom
fix/nav-contract

Conversation

@catomean

Copy link
Copy Markdown
Collaborator

Both the desktop sidebar loop and the mobile bottom tab bar called isActive() to paint nav-link-active / mobile-tab-item-active, and the desktop Settings link compared pathname directly — none of the three set aria-current. Zero occurrences anywhere in the repo.

.nav-link also came out near 41px (10px vertical padding around 14px text), just under the 44px touch floor this repo already states explicitly on .browse-chip. Now says the floor instead of leaving it to arithmetic that happened to land close. .mobile-tab-item was already comfortably above it.

No visual change beyond the min-height.

Verification

Typecheck clean, lint clean, 904 tests pass (88 files).

Found by the fleet nav-contract audit, which flags a repo whose navigation computes an active state and never announces it anywhere.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XeELB8b3N4JrT2asYL9WvE

…d it

Both the desktop sidebar loop and the mobile bottom tab bar called isActive()
to paint nav-link-active / mobile-tab-item-active, and the desktop Settings
link compared pathname directly — none of the three set aria-current, so the
current page existed only for people who can see it. Zero occurrences of
aria-current anywhere in the repo.

.nav-link also came out near 41px (10px vertical padding around 14px text),
just under the 44px touch floor this repo already states explicitly on
.browse-chip. Says the floor now instead of leaving it to arithmetic.
.mobile-tab-item was already comfortably above it.

No visual change beyond the min-height.

Found by the fleet nav-contract audit, which flags a repo whose navigation
computes an active state and never announces it anywhere.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XeELB8b3N4JrT2asYL9WvE
@github-actions
github-actions Bot merged commit f094747 into main Aug 31, 2026
1 check passed
@github-actions
github-actions Bot deleted the fix/nav-contract branch August 31, 2026 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant