feat: preserve focus and catalog context during public navigation
Quality / test (push) Canceled after 0s
Quality / test (push) Canceled after 0s
This commit is contained in:
@@ -70,3 +70,22 @@ Remaining manual coverage: native browser zoom, screen-reader speech and route
|
||||
announcements (VoiceOver/Safari or NVDA/Firefox), and the full live-data navigation
|
||||
journey. Automated checks and accessibility-tree inspection do not certify WCAG
|
||||
conformance or replace those reviews.
|
||||
|
||||
## Public route navigation — 2026-09-10
|
||||
|
||||
- Catalog cards use router links with ordinary URL/open-in-new-tab behavior.
|
||||
- Catalog and public detail pages set descriptive browser titles. Detail titles
|
||||
update to the product name or error message after loading.
|
||||
- Entry focuses the named main landmark with a visible keyboard outline. It is
|
||||
programmatically focusable (`tabindex=-1`) without adding an extra Tab stop.
|
||||
Query updates and asynchronous results do not move focus again.
|
||||
- Filtered catalog links carry their origin in `from`; “Back to catalog” restores
|
||||
that URL. Only `/` and catalog query URLs are accepted; external or non-catalog
|
||||
destinations fall back to `/`. Browser Back retains its normal history behavior.
|
||||
- Three public Playwright tests exercise keyboard navigation, query preservation,
|
||||
browser Back, direct product links, not-found titles, safe return URLs, and a
|
||||
delayed response while focus remains on the return link. They intercept public
|
||||
API responses and do not require credentials or mutate production data.
|
||||
|
||||
These checks verify browser focus, titles, and navigation behavior. Screen-reader
|
||||
speech and native browser zoom remain manual follow-ups from the earlier review.
|
||||
|
||||
Reference in New Issue
Block a user