Improving Web Accessibility with Web Platform Tests
Web Platform Tests (WPT) let one automated accessibility test run across Chromium, Gecko and WebKit, verifying that browsers compute the expected accessibility role and label for DOM elements. Tests are plain HTML with data-* hooks such as data-expectedrole and data-expectedlabel, executed by testharness.js with WebDriver fetching browser-computed accessibility metadata, and run daily in CI with results published to the interop dashboard. Beyond catching cross-browser discrepancies and regressions, such tests have exposed specification ambiguities, such as in accessible name node traversal, prompting fixes across all engines.
Related posts
- Automated Accessibility Testing at Slack
Slack Engineering mediumAdeptSlack added automated accessibility checks to its desktop end-to-end tests by integrating Axe into Playwright via @axe-core/playwright, after embedding checks in Jest/React Testing Library proved impractical with its custom Jest setup. Hooking Axe into Playwright's interaction methods was also ruled out, because Locator auto-waiting only guarantees element readiness, not full-page render. The team instead exposed a `runAxeAndSaveViolations` helper on its custom `slack` fixture, scoped to WCAG 2.1 A/AA, excluding known-issue selectors, and reporting only deduplicated critical violations. Results feed a non-blocking 91-test suite gated by an A11Y_ENABLE flag, with screenshots in the Playwright HTML reporter, daily Buildkite runs alerting into Slack, and a Jira workflow for triage with the accessibility team.
- Continuous AI for accessibility: How GitHub transforms feedback into inclusion
GitHub Engineering mediumAdeptGitHub built an event-driven accessibility feedback pipeline on GitHub Actions, Copilot and the GitHub Models API that turns every user report into a tracked, prioritized issue. Issue creation triggers Copilot analysis that uses stored, PR-editable prompt files instead of fine-tuning. The analysis fills about 80% of 40+ metadata fields and suggests WCAG criteria, severity, affected user groups, team assignment and a reproduction checklist. A second Action parses Copilot's comment to apply labels and board status. Humans verify at each stage, and their corrections are logged to refine the prompts. About 75–80% of reports match existing audit findings and get reprioritized by real-world impact, and issues close only once the user confirms the fix works.
- Accessibility Insights for Windows
Engineering@Microsoft mediumAdeptAccessibility Insights for Windows is an open-source .NET/WPF tool built on Microsoft's UI Automation framework for finding and fixing accessibility issues in Windows apps. Inspect mode exposes each element's position in the UI Automation tree plus its properties and patterns, which is the same data screen readers see. FastPass combines rule-based Automated Checks with a Tab Stops test driven by FocusChanged events, and Event mode records the UI Automation events assistive technologies observe. A Color Contrast Analyzer checks colors against WCAG ratios, and the rules engine, Axe.Windows, ships as a NuGet package with a CLI so the checks can run in tests and CI/CD pipelines.
- Announcing Interop 2026
WebKit easyNoviceInterop 2026 brings Apple, Google, Igalia, Microsoft and Mozilla together for a fifth year to align browser implementations on twenty focus areas measured by Web Platform Tests. Fifteen areas are new and five carry over from 2025. The list covers anchor positioning, advanced attr(), container style queries, contrast-color(), CSS zoom, custom highlights, dialog/popover additions, fetch streaming uploads and Range requests, IndexedDB getAllRecords(), JSPI for Wasm, media pseudo-classes, the Navigation API, scoped custom element registries, scroll-driven animations, scroll snap, shape(), view transitions, WebRTC and WebTransport. Short code examples show what each feature does, and the post notes which ones Safari shipped first.
- How we raised mobile end-to-end test stability to 98%
Shopify Engineering mediumAdeptShopify rebuilt its mobile end-to-end test framework as an opinionated wrapper over Appium, raising test stability from 50% to 98% and returning the suite to blocking PR checks. The wrapper exposes a small builder-style API where every action must carry an assertion that is validated as false before the step and true after. Escape hatches like custom timeouts and Test IDs are prefixed UNSAFE_. Elements are located visually rather than through the view hierarchy: PaddleOCR finds text, and OpenCV matches grayscale Polaris SVG icons, including color-inverted variants and multiple sizes, using adjacency to tell duplicates apart. Annotated run videos, a single CLI for local and remote device-farm runs, and a pre-promotion gate that reruns new tests before admitting them to CI round out the approach.