Repository navigation
test(mobile): scan nested route folders and top-level tsx screens for a11y - #158
Closed
santinofuentesAI wants to merge 1 commit into
Closed
santinofuentesAI wants to merge 1 commit into
santinofuentesAI wants to merge 1 commit into
Conversation
… a11y (DojoCodingLabs#30) Signed-off-by: Santino Fuentes <santinofuentesAI@users.noreply.github.com>
Contributor
|
Thanks, Santino, and sorry about this one too. You opened it before #159, but it didn't show up in the open list when I merged the queue this afternoon, so #159, which makes the same change to the scan, landed first. Closing this as a duplicate. If yours covers something #159 doesn't, open a small follow-up with just that part and I'll merge it. 🦀 |
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.
What and why
Closes #30
Updates
apps/mobile/src/a11y-scan.test.tsto scanappandcomponentsrecursively viareaddirSync(join(SRC, dir), { recursive: true })and collect every.tsxfile directly insidesrc/instead of hardcodingapp-lock.tsx.join("app", "oauth", "mcp.tsx"),join("app", "oauth", "microsoft.tsx"), and"app-lock.tsx"are included in the scanned file list (failed before the change, passes after).Vision fit
Serves Principle 7 ("Small, typed and tested") and ROADMAP.md ("Now: fewer rough edges in the everyday loop") by ensuring nested route screens cannot silently bypass TalkBack accessibility checks.
Non-negotiables
Checklist
acceptedproposal.pnpm check:privacy,pnpm typecheck,pnpm lint,pnpm testandnode scripts/guard/check.mjs --base origin/main --patterns scripts/guard/patterns.txt.packages/copy, in es-419 and en, with matching keys and placeholders, and no em or en dashes. (n/a: test-only change.)Model path
packages/model,agent,skillsoreval, the prompt, the router, tool descriptions, normalizers, examples or the model file.Screenshots
New dependencies and network calls
n/a
AI agents
a11y-scan.test.ts, ran all five gates againstorigin/main(6f0d47e), and drafted this PR description.