AUDIT_ROUTE_FILTER now accepts "=/route" for an exact match in addition to
the existing substring match, so a single route such as the dashboard can be
audited on its own without pulling in every route that contains the filter.
Full 390x844 pass on a fresh dev server: 68/68 routes ok, zero findings in
every violation class (overflow, grid, hoverOnly, tapTarget), leaving only
the review tiers (611 marginal, 6 WCAG-exempt inline links, 1 informational
hidden-on-mobile) plus the banking hydration fix.
Raw element boxes overstated violations, so the check now measures what a
user actually taps, and reports the tiers separately (violation under
24px, marginal 24-39px, inline-exempt):
- effective target is the wrapping label, or label[for] for small
checkables only. Verified in the browser that clicking a label toggles
its Radix Switch (label rows are 84px tall); a Select's 14px caption
label is not charged because its 36px trigger is the real target
- stretched-link cards (after:absolute inset-0) are measured on the
positioned ancestor, not the 18px anchor inside
- sr-only proxy controls (under 8px) and input[type=range] are excluded
(a slider's thumb is the target, not the 4px track)
- display:inline anchors in prose get the WCAG 2.5.8 inline exception and
are reported as tapTargetInlineText
- refreshed baseline: 0 violations, 573 marginal, 6 inline, 1 hidden
The harness was measuring against a viewport Chromium had already widened:
with isMobile true it grows the layout viewport to fit overflowing content,
so scrollWidth > innerWidth could never fire and real overflows were masked.
hasTouch alone gives (pointer: coarse) while keeping the 390px viewport
fixed, which is what surfaced the remaining resources overflow.
- grid class: flag only grids that overflow a non-scrolling container;
drop the narrow-track rule (it flagged intentional icon columns) and
skip min-w-max boards, which scroll by design
- structures detail now resolves from game-structures (the page's
collection), so the previous phantom 404 is gone
- refreshed baseline: overflow, grid and hoverOnly all at zero
Pass 2 Session A: scripted Playwright audit over all frontend routes at
mobile viewport, classifying overflow, dialog, grid, hoverOnly,
hiddenMobile, tapTarget (<24px WCAG violation) and tapTargetMarginal
(24-39px review tier) findings.
- resolves dynamic route ids from REST, skips unresolvable ones instead
of navigating literal bracket URLs
- blocks the realtime SSE stream, uses domcontentloaded, retries 5xx and
errors once, and aborts if the dev server dies mid-run
- AUDIT_ROUTE_FILTER for targeted re-audits (writes filtered files so
the baseline report is never clobbered)
- markdown report clusters findings into cross-route pattern groups;
Sessions B-D fix per class and re-run this as the regression gate
- includes the initial baseline report (159 tap violations, 24 overflow
findings on 6 routes, 4 cramped grids, 1 hover-only, 1 hidden-on-mobile)