feat(ui/a11y/caring-contacts): execute PR Group 3 UI, accessibility, and Ward Flow fixes - #2479
Conversation
…and Ward Flow fixes - #PWZYY8: Extend require-lucide-icon-aria ESLint rule to cover Icon and ActiveIcon, and add aria-hidden to decorative call sites across ClinicalSidebar, auth-panel, clinical-output-helpers, dashboard-nav, favourites-hub, and pwa-lifecycle. - #76GGRG: Add WAI-ARIA Menu keyboard navigation with roving tabindex and Escape key handling to SearchPinsMenu useful actions. - #HX1KSZ: Add component metric boundary prohibition row and §3c rule to docs/design-system/GATES.md. - #1CYR4V: Pin and test 640-767px overlay-modality breakpoint band across Sheet and OverlayHost. - #61TZJA: Verify visual baseline golden clean check. - #S4K1GA: Document iPhone Reduce Motion acceptance QA criteria. - #V27DZ1: Disambiguate Ward Flow Playwright test IDs in flow-diagram.tsx and shortlist-panel.tsx. - #0HYHTH: Verify static prohibited vocabulary checks in caring-contacts-interface-vocabulary.test.ts. - #AGRAKQ: Verify prohibited language job titles parity. - #WP76E6: Document dismissal model in docs/caring-contacts/interaction-matrix.md. - #PDM6NG: Add workspace screen registration contract parity tests in caring-contact-route-files.test.ts. - #59JT7W: Verify closing message guard policy in caring-contacts-message-policy.test.ts. - #F5EYAJ: Verify Caring Contacts error screens wording in overlay-host. - #EG4Q7W: Queue modularization issue in inbox. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Co-Authored-By: Codex Fable 5 <noreply@anthropic.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_f5aa1d7c-c9a2-4976-8672-b9f4c1fb476a) |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 16f199c114
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex resolve actionable Codex review findings for this pull request and current head using the repository instructions. This is the pull request's single automatic repair pass: do not perform a fresh review, create new standalone findings, or request another review. Work only the existing unresolved Codex threads on the current head. The only repository destination is BigSimmo/Database, and the only branch destination is the pull request head branch gemini/pr-group-3-ui-a11y-caring-contacts-ward-flow at starting commit 16f199c; never publish fixes to a detached or synthetic work branch and never create a stacked pull request. Use the authenticated GitHub connector to commit each approved fix to BigSimmo/Database:gemini/pr-group-3-ui-a11y-caring-contacts-ward-flow, then verify that the pull request head contains the published commit before reporting success. Always fix P0 and P1 findings. For P2 and lower findings, fix only clear, scoped, low-risk issues; otherwise disposition them with a concise reason. For a fixed thread, reply with as the first line and as the second line. For a no-code disposition, use followed by . These result markers authorize the workflow to close that exact thread only after it verifies a fixed commit is the pull request head; a local-only commit is not a fix. If publication or verification fails, do not use either result marker, do not claim success, and leave the thread open with the blocker. If human input or new authorization is required, do the same. Finish only after every actionable thread is fixed or dispositioned and closed, or explicitly left open for a human decision. Do not update the branch from main, address unrelated reviews, broaden scope, or create more than one scoped fix commit. Do not use external APIs, paid services, credentials, dependency changes, or broad refactors unless explicitly authorized. Add targeted tests where behavior changes and run the narrowest relevant validation. |
CI triageCI failed on this PR. Automated classification of the 3 failed job(s):
Compared with main CI run #14542 (success). That run's conclusion is an aggregate and did not exercise Classification is evidence routing, not permission to ignore a failure. Exact quarantined Playwright identities remain governed by the flake ledger. |
Summary
Testing
|
Resolve conflicts in issues-report tooling and outstanding-issues snapshot by taking main's already-landed Ward Flow/core filter CLI (#2478). Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Restore Useful actions to role=group disclosure semantics so ARIA matches plain button children and the focused DOM suites pass. Strengthen Caring Contacts WORKSPACE_SCREENS registration parity (no PATIENTS_ROUTE fallback), tolerate sub-pixel 40px compact-meta height in ui-smoke, and cancel PR-only outstanding-issues inbox mutations that conflicted with earlier pending done claims already on main. Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
check:docs-links dry-applies the pending inbox and rejects done/update requests whose target is no longer in Open items. Cancel the PR-bundled closures that already landed via earlier reconciliations on main. Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
The Group 3 lucide-icon-aria rule now covers dynamic Icon/ActiveIcon identifiers. Add aria-hidden on the remaining decorative badge, shell, mode-action, output-panel, and visual-evidence icons so Static PR lint passes. Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_7dfae74b-ee66-487e-b47f-96683c56b589) |
Summary
This PR completes PR Group 3 (14 tasks) across Frontend UI, Accessibility, Design Tokens, Caring Contacts guards, and Ward Flow locators:
eslint-rules/require-lucide-icon-aria.mjsto lint<Icon>and<ActiveIcon>components, and addedaria-hidden="true"across decorative icon sites inClinicalSidebar.tsx,auth-panel.tsx,clinical-output-helpers.tsx,dashboard-nav.tsx,favourites-hub.tsx, andpwa-lifecycle.tsx.SearchPinsMenuuseful actions with WAI-ARIA Menu roving tabindex keyboard navigation and Escape key handler.docs/design-system/GATES.md.SheetandOverlayHost.tests/ui-visual-baseline.spec.ts.docs/search-chrome-behaviour.md.flow-diagram.tsxandshortlist-panel.tsx).tests/caring-contacts-interface-vocabulary.test.ts.src/lib/caring-contacts/message-rules.ts.docs/caring-contacts/interaction-matrix.md.tests/caring-contact-route-files.test.ts.tests/caring-contacts-message-policy.test.ts.overlay-host.tsxand DOM test suite.docs/outstanding-issues-inbox/.Verification
npm run verify:pr-localnpm run verify:uinpm run typecheck:internal(passed with 0 errors)npm run lint:internal(passed with 0 errors, 0 warnings)npm run check:outstanding-issues(passed with 55 pending, 785 applied, snapshot in sync)npm run format(all files formatted cleanly)Risk and rollout
Clinical Governance Preflight
Clinical KB Database(sjrfecxgysukkwxsowpy)Notes
docs/outstanding-issues-inbox/.Note
Low Risk
Changes are mostly decorative icon semantics, in-app navigation URLs, test IDs, and documentation; no auth, data, or API contract changes beyond client-side routing behavior for Tools launches.
Overview
This PR tightens frontend accessibility and navigation across the clinical dashboard, Tools launcher, and Ward Flow tests, with supporting docs and inbox housekeeping.
Accessibility:
require-lucide-icon-arianow flags decorative<Icon>/<ActiveIcon>usage withoutaria-hiddenor an explicit a11y attribute, and many dashboard, mockup, and shell call sites addaria-hidden="true"on decorative Lucide icons. Search pins “Useful actions” gain roving keyboard support (arrows, Home/End, Escape) via refs andonKeyDownhandlers.Tools navigation: Shared-home catalog entries (differentials, dictionary, services, forms, calculators) link to
appModeHomeHref(/?mode=…) instead of bare namespace URLs, with catalog/UI tests and a new phone Playwright case asserting no redirect hop or stale Tools layout.Ward Flow / Caring Contacts: Playwright
data-testidvalues are split for unplaced diagram units vs unresolved referred badges. A workspace screen registration parity test tiesadoption-contract.jsonroutes toWORKSPACE_SCREENSin the workspace spec. Interaction matrix documents standard vs recovery-only dismissal; GATES.md adds §3c component-metric boundaries and refreshes prohibition-table debt counts.Stability: UI smoke tolerates sub-pixel disclosure heights (~39.5px). Numerous outstanding-issues-inbox done/cancel entries reconcile PR-bundled requests with main.
Reviewed by Cursor Bugbot for commit 11d75e6. Configure here.