Repository navigation
fix(a11y): repin Lighthouse/axe scan URLs to stable 200 routes - #1819
Merged
Merged
Conversation
4 of the 8 pinned URLs (test/a11y/urls.js) 404 on deployed envs: /missions/, /missions/<slug>/, /groups/<slug>/, /tutorials/ — the approuter routes /tutorials/* and the mission/group index paths to CAP, which 404s the bare index (PROD 301-redirects them), and the per-slug pages rot when a mission/group is retired. So the post-deploy Lighthouse+axe scan only exercised 4 of 8 pages (the rest errored ERRORED_DOCUMENT_REQUEST). Repin to stable, CAP-served content routes (not rot-prone per-slug catalog pages): /browse/, /topics/, /concepts/<slug>/, /developer-advocates/. Verified 2026-08-15 all 8 return 200 on both DEV and PROD.
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.
Problem
4 of the 8 URLs in
test/a11y/urls.js404 on deployed envs, so the post-deploy Lighthouse + axe scan (deploy.ymla11y-scanjob) only exercised 4 pages — the other 4 errored (ERRORED_DOCUMENT_REQUEST). Found during the 2026-08-15 DEV Lighthouse rerun.The 4 bad URLs:
/missions/,/missions/<slug>/,/groups/<slug>/,/tutorials/. The approuter routes/tutorials/*and the mission/group index paths to CAP, which 404s the bare index (PROD 301-redirects them), and per-slug catalog pages rot when a mission/group is retired.Fix
Repin to stable, CAP-served content routes that don't rot:
/browse/,/topics/,/concepts/<slug>/,/developer-advocates/(keeping Home, 2 HANA-served tutorials, and /tags/). Verified all 8 return 200 on both DEV and PROD on 2026-08-15.Restores full 8-page coverage for the a11y + Lighthouse scan.