chore(nav): remove dead navigation css and redundant attributes #238
Inga granskare
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-web!238
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "work/161"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
Four cleanups found while reviewing the navigation. None of them changes behaviour a reader can see, except that inactive links now ship no
aria-currentattribute at all.user-menu.astro: deleted the.sign-out-formCSS block. The selector never matched, becausesign-out.astrorenders.sign-out. The rules that do the work are the near-identical copy insign-out.astro, left untouched.main-navigation.astro:activePropsreturned the string"false", so every inactive link shippedaria-current="false". It returnsundefinednow, so Astro omits the attribute.isActivePathandsrc/lib/nav.test.tsare unchanged.language-switcher.astro: dropped thetitleattribute. It duplicated thearia-labeltext, added a second desktop tooltip and did nothing on touch.variables.scss: the comment on--color-btn-secondary-*named a nav item that is anIconLinknow.Patch version bump: meaning-preserving cleanup.
Verified:
pnpm lint,pnpm checkandpnpm testall pass (361 tests,nav.test.tsunchanged).Closes #161