Add a visually hidden but focus-visible skip link near the top of the shell:
Add a visually hidden but focus-visible skip link near the top of the shell:
...
@@ -501,7 +501,11 @@
...
@@ -501,7 +501,11 @@
- First Tab focuses skip link.
- First Tab focuses skip link.
- Pressing Enter moves focus target to main content.
- Pressing Enter moves focus target to main content.
-[]**Step 2: Add skip link styles**
Progress note:
- Completed on 2026-05-25: added `跳到主内容` skip link and `main#main-content` with `tabIndex={-1}`.
-[x]**Step 2: Add skip link styles**
Add CSS:
Add CSS:
...
@@ -531,7 +535,11 @@
...
@@ -531,7 +535,11 @@
- Hidden by default.
- Hidden by default.
- Visible only when focused.
- Visible only when focused.
-[]**Step 3: Confirm nav tab order**
Progress note:
- Completed on 2026-05-25 in `shell.css`.
-[x]**Step 3: Confirm nav tab order**
Manual validation:
Manual validation:
...
@@ -546,7 +554,11 @@
...
@@ -546,7 +554,11 @@
- No keyboard trap.
- No keyboard trap.
- No hidden active control receives focus unless intentionally screen-reader-only.
- No hidden active control receives focus unless intentionally screen-reader-only.
-[]**Step 4: Define desktop responsive contract**
Progress note:
- Confirmed on 2026-05-25 with browser snapshot: first Tab focuses skip link, Enter moves focus to `main#main-content`, then navigation/content controls remain reachable.