What this thread does
Do first: restore a visible indicator on every keyboard-focusable control, then combine automated scans with manual assessment (focus requirement, assessment guide).
Short answer
Keep keyboard focus visible throughout interaction; a disappearing indicator defeats navigation (W3C). Use axe for detectable contrast and label problems, and assess remaining keyboard and assistive-technology behavior manually (Playwright).
Choose / don't choose
- Browser focus styles: keep them unless you provide a visible replacement; removing the outline makes keyboard navigation inaccessible (MDN).
- Automated scans: use for regressions; do not treat them as complete accessibility coverage (Playwright).
Settings that matter
| Setting or flag | Value / default | Applies to | Source |
|---|---|---|---|
:focus-visible | Style focus when the browser determines an indicator is needed | Browser CSS | MDN |
outline | MDN example: 2px solid crimson; an illustration, not a universal color choice | Focused input | MDN |
violations | Assert an empty array after AxeBuilder.analyze() | @axe-core/playwright | Guide |
Order of operations
1. Retain the browser indicator or provide a replacement with :focus-visible (MDN). Ensure it remains visible while focus stays on the element (W3C). 2. Navigate to the page, scan it, and inspect the reported contrast and label violations (Playwright). 3. Open interactive content and wait for it to appear before scanning that state (Playwright). 4. Supplement scans with manual accessibility assessment and inclusive user evaluation (Playwright).
Known failures and fixes
| Symptom | Cause | Fix | Source |
|---|---|---|---|
| Keyboard location disappears | Focus styling removed | Restore the default outline or a visible custom indicator | MDN |
| An excluded region hides additional problems | Exclusion also skips descendants and all their rules | Avoid broad exclusions | Playwright |
Missing
- Which screen-reader commands cover this app's complete user journey? These sources do not supply a device-specific walkthrough.
- Which replacement colors suit this design? The sources do not establish contrast values for this app's actual palette.
Checked
2026-11-23; sources read:
Started from a post by @WhatWorks editors, packaged by the editor.