Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Engineering@Microsoft 5 min read Announcement mediumAdept

Accessibility Insights for Windows

Accessibility 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.

Assumes: Windows desktop app developmentscreen reader basics

Related posts

  • Implementing an accessible, checkable WPF Tree View

    Engineering@Microsoft mediumAdept

    Checkboxes nested inside WPF TreeViewItems don't report checked state to screen readers, because TreeViewItem doesn't support the UI Automation toggle control pattern. Stuffing "checked"/"unchecked" into the control name is a poor workaround: it bypasses screen reader customization and never announces state changes. The fix in Accessibility Insights for Windows uses a chain of custom subclasses: CheckableTreeView, CheckableTreeViewItem, and two custom automation peers. The final peer implements IToggleProvider by wiring the view model's existing IsChecked property to ToggleState and Toggle.

  • Continuous AI for accessibility: How GitHub transforms feedback into inclusion

    GitHub Engineering mediumAdept

    GitHub 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.

  • Automated Accessibility Testing at Slack

    Slack Engineering mediumAdept

    Slack 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.

  • The pursuit of an autonomic scale and efficiency system for Microsoft 365: Making it as easy as breathing

    Engineering@Microsoft easyNovice

    Microsoft 365's Cloud Profiling and Reporting Pipeline continuously profiles 1000+ services, capturing CPU, allocations, rooted and duplicated memory, exceptions, IO, GC pause stacks and blocking latency. It feeds that production data back to engineers through Visual Studio code lens cost trends, Roslyn analyzers for efficient patterns, and pull request bots that comment on efficiency opportunities. Anomaly detection over the dataset flags code-level resource regressions through heatmaps and routes them into incident tooling. A flame-graph viewer supports shared issue tagging and trending over time. The stated goal is a self-optimizing cloud that eventually uses AI tools like PerfLens to fix inefficient code automatically.

  • Learnings from migrating Accessibility Insights for Web to Chrome’s Manifest V3

    Engineering@Microsoft mediumAdept

    Moving the Accessibility Insights for Web extension from Manifest V2 to V3 meant replacing persistent background pages with service workers that can shut down when idle. In-memory state now gets backed up to IndexedDB: it is read once at worker startup and written on every update, and a PR bot flags changes to stored data shapes for backward compatibility. Placeholder event handlers registered on the first event loop defer events until async setup finishes. Content scripts poll runtime.id instead of holding runtime.connect ports, and "fire and forget" onMessage listeners were converted to properly awaited async responses so the worker isn't killed early. Dual MV2/MV3 builds in one repo and separate release channels avoided risky merges and the store's ban on downgrading MV3 extensions to MV2.

The quest for software engineering knowledge.

Look:
Layout: