Repository navigation
feat(admin): landmarks, skip link and a keyboard journey gate (spec 104) - #128
Merged
Merged
Conversation
Add a skip link, Admin and Breadcrumb nav landmarks and a main landmark (dropped inside a host main) to the admin shell and auth pages, keep focus out of <body> after navigation, make Log in / Exit and sidebar entries one Tab stop each, and gate a keyboard-only journey with axe scans on Angular 21 and 22 in the packed SSR journey.
Owner
Author
|
Folded into #127: 1.1.0 ships as one PR (one commit per spec) and one minor changeset. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Spec: docs/specs/104-admin-landmarks-and-keyboard-journey.md. V2-01 admin accessibility. Stacked on #127 (base
feat/admin-angular-22).What changes
<nav aria-label="Admin">, breadcrumb<nav><ol>witharia-current="page", androle="main"on the page region. Sign-in/sign-up get the main landmark too. The role is dropped inside a hostmain.<body>.[routerLink]on<volt-sidebar-item>also matched Angular'sRouterLink, which added an empty stop. The new gate found this.Compatibility impact
No API, option, default or REST change (
check:apiunchanged). Only markup changes; see the spec's compatibility section. Selectors that targeted the<button>inside "Log in"/"Exit" would need updating; that DOM was never stable surface.Evidence (local, 2026-11-17)
@forge-cms/admintests (8 new layout accessibility tests),e2e:tiny-project27/27,e2e:demo36/36 (styled axe incl.target-size).format:check,lint,typecheck,test,build,docs:verify,check:apigreen.To report upstream
volt-sidebar-itemdoesn't setariaCurrentWhenActive, so the active entry isn't announced as current. Also, itsrouterLinkinput collides with Angular'sRouterLinkin templates that import it.