Skip to content

Frontend: Card docs, MobileMockup a11y, Features test, Navbar focus trap - #1135

Open
nanlebenthel-web wants to merge 1 commit into
LabsCrypt:mainfrom
nanlebenthel-web:feat/issues-1031-1030-1029-1028
Open

Frontend: Card docs, MobileMockup a11y, Features test, Navbar focus trap#1135
nanlebenthel-web wants to merge 1 commit into
LabsCrypt:mainfrom
nanlebenthel-web:feat/issues-1031-1030-1029-1028

Conversation

@nanlebenthel-web

Copy link
Copy Markdown

Test plan

  • npx vitest run for touched/added test files (Features, Navbar, useModalDialog) — all pass
  • npx eslint on changed files — clean
  • Full npx vitest run — 184 tests pass; 2 pre-existing failures unrelated to this change (src/lib/dashboard.ts and src/hooks/useIncomingStreams.test.ts have pre-existing syntax errors on main, out of scope here)
  • Manual check of mobile menu Escape/focus-trap behavior in browser

Closes #1031
Closes #1030
Closes #1029
Closes #1028

…nents

- docs(ui): document Card behavior notes in UI_COMPONENTS.md, verified
  against Card.tsx's actual prop signature
- fix(MobileMockup): expose the CSS/SVG phone illustration as a single
  accessible unit via role="img" + aria-label, hide decorative inner
  nodes from assistive tech (component has no raster image/next/image
  asset to add alt text or sizes to)
- test(Features): add render coverage asserting all three feature
  titles and card count
- fix(Navbar): wire the mobile menu through useModalDialog for focus
  trap and Escape-to-close; hamburger button aria-expanded already
  reflected menu state
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment