Skip to content

fix(overlay): connector contrast, clipped tab-order layer, pill region (0.18.5) - #51

Merged
DuncanFaulkner merged 2 commits into
mainfrom
fix/overlay-0-18-5
Oct 25, 2026
Merged

DuncanFaulkner merged 2 commits into
mainfrom
fix/overlay-0-18-5

Conversation

@DuncanFaulkner

Copy link
Copy Markdown
Contributor

Three overlay fixes for 0.18.5.

  • The tab-order connector line is drawn opaque. At 0.7 opacity the teal blended to about 2.5:1 on white, under 3:1 for non-text contrast (WCAG 1.4.11). Opaque it measures 3.93:1 on white, 3.61:1 on #f5f5f5, 3.5:1 on #2d2d2d and 5.34:1 on black.
  • The tab-order SVG is clipped to the viewport. A path running past the bottom of the window made axe's color-contrast return "needs review" for low-contrast text below the fold, so it was not reported as a violation. Report mode keeps hiding the overlay before it scans, because the app it scans may run an older overlay.
  • The pill and its menu sit in a region named "Accessibility developer tools", so scanners that don't exclude the overlay no longer report the pill under axe's region rule. The name differs from the switch's own "a11y devtools".

New real-Chromium spec e2e-overlay-scan.spec.ts fails without the fixes and passes with them. Unit specs cover the connector, the SVG overflow, the region, and the open menu panel staying inside the region. 440 tests pass.

…ill region (0.18.5)

The tab-order connector was drawn at 0.7 opacity, about 2.5:1 on white, so it
is now opaque (3.93:1 on white). The tab-order SVG overflowed the viewport,
and a path crossing text below the fold made axe's color-contrast return
needs-review for that text; the SVG is now clipped. Report mode keeps hiding
the overlay because the scanned app may run an older one. The pill group is a
region labelled "a11y devtools" for scanners that don't exclude the overlay.
New real-Chromium spec e2e-overlay-scan reproduces both scan problems.
…es in the changelog

The pill region is named "Accessibility developer tools" so tabbing in doesn't
announce "a11y devtools" twice. New spec: the open menu panel stays inside the
region. The changelog lists the backgrounds the connector was measured on.
@DuncanFaulkner
DuncanFaulkner merged commit 8d8b35d into main Oct 25, 2026
1 check passed
@DuncanFaulkner
DuncanFaulkner deleted the fix/overlay-0-18-5 branch October 25, 2026 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant