Factory Overview disc: aria-hidden not CSS ::before
Overview disc accessible name
-
- Decorative disc via
.overview-project-title::before { content: "•" }made Overviewh1a11y name"•App…"in Playwright Chromium (exact heading match fail).
- Decorative disc via
-
- jsdom/vitest
getByRole(…, { name })often does not include::before— unit green can miss E2E a11y breakage.
- jsdom/vitest
-
- Prefer real
<span aria-hidden="true">•</span>(or equivalent) so visible bullet stays decorative and accessible name stays the project title.
- Prefer real
-
- Confirmed QA finding: Chromium includes
::before { content }in heading accessible name; jsdom/vitest often does not.
- Confirmed QA finding: Chromium includes
-
- Fix pattern for F3/F4b:
<span class="overview-project-bullet" aria-hidden="true">•</span>+ CSS color/margin only.
- Fix pattern for F3/F4b:
-
- Guard with Playwright
getByRole('heading', { name, exact: true })(already increateSoftwareProject) plus explicit bulletaria-hiddenassertion.
- Guard with Playwright
-
Prefer DOM
aria-hidden="true"on decorative disc; CSS::beforecontent is joined into Chromium accessible name (qa trap).