Repository navigation
Accessibility in CI: jsx-a11y lint, skip link, axe in Edge (4.1) - #188
Merged
Merged
Conversation
Vitest browser mode in the installed Edge, light and dark, over home, each builder step, each sheet tab and home in each named theme. Serious and critical violations fail. The CI step waits for the contrast fixes.
Partial: per-scheme projects and keyed DevHost env, exact-path proxy with 1 MB cap, playwright pinned. Not yet run.
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.
Post-audit plan row 4.1: accessibility checks now run in lint and in CI.
What changes
eslint-plugin-jsx-a11ynow runs with its recommended rules. It found 11 violations: 2 are fixed, and 9 are disabled on a single line each, with the reason written on that line:no-noninteractive-tabindex×3 (CandidateReviewPanel ×2, ClassGrid). These scrollable regions must be focusable for keyboard scrolling (WCAG 2.1.1).no-noninteractive-element-interactions×4 (ArchivePanel, CharacterBuilder, SampleNote, MoreMenu). Escape bubbles up from the real buttons; the wrapper itself is not a control.no-static-element-interactions×1 (MoreMenu disclosure wrapper).no-autofocus×1 (CharacterBuilder first field when the builder opens).aria-selected. The roving item now announces "selected" (one of the 2 fixes). The e2e suite covers it.<main id="main-content" tabindex="-1">:mainshows no focus ring when it takes focus, even with "Always show focus" on.npm run test:a11y). Vitest browser mode runs in the installed Edge (channel: 'msedge') against the real DevHost, with colour contrast on.seriousandcriticalviolations fail the run.a11y/devhostProxy.ts) forwardsPOST /api/commandfrom Node with the token and no Origin:src/DevHostis unchanged, and the shipped app still opens no socket (ADR-006).guijob, after the smoke, two-instance and WebView2 evidence steps, so an axe failure doesn't skip them. The required check name (build-test) is unchanged.Dependencies (dev-only)
eslint-plugin-jsx-a11y.minimatch3.1.5, a patched version, under that plugin only. The globalminimatch^11 override crashedlabel-has-associated-control.@vitest/browser-playwright5.0.5 andplaywright1.65.1, pinned.playwright installand no browser download.src/Ui/tsconfig.jsongainsallowImportingTsExtensions.noEmitis already on. The a11y config imports./a11y/devhostProxy.ts, and Vite's config loader warns about an extensionless import.npm audit: 15 high findings, all onepicomatchReDoS advisory reached through vite, vitest and tinyglobby. It was already on main (picomatch4.0.7 in the base lockfile); this branch adds none.Verification
Local gate at 9452dbc, run in order:
After the review fixes:
The branch had a dual review (logic and risk). Its confirmed findings are fixed and re-reviewed clean.
Owner
scripts/smoke.ps1andscripts/single-instance-check.ps1against the Release exe.windows-latest. Theguijob's 30-minute timeout now covers one more step.