Building a more accessible GitHub CLI
GitHub CLI's Public Preview (v2.72.0, enabled via `gh a11y`) adapts accessibility practice to the terminal, where no WCAG-equivalent standard exists and screen readers must infer structure from a plain character grid. Interactive prompts were rebuilt on Charm's `huh` library so speech synthesis screen readers read them correctly. The redraw-based braille spinner was replaced with a static, context-specific text progress indicator. Markdown colors were realigned to the 16-color ANSI 4-bit palette, informed by Primer, so users can keep contrast against any terminal background and customize hues through their terminal settings. Planned work includes extending these features to CLI extensions and screen-reader-friendly table formatting.
Related posts
- Accessibility considerations behind code search and code view
GitHub Engineering mediumAdeptGitHub rebuilt code search and code view to remove accessibility barriers that pushed screen reader users toward raw files. After a sort change triggers a full page navigation, focus is restored to the sort dropdown. After a search, focus moves to the results-count header instead of using aria-live announcements, which race with page-title announcements. The file tree became the open-source TreeView component, with typeahead and strict ARIA markup. Code reading uses a hidden <textarea> modeled on Monaco, layered under syntax-highlighted virtualized lines with a synced fake cursor. That design enables native screen reader navigation, find and select-all, but brings costs: scroll syncing, cross-browser quirks, and Firefox text-zoom mismatches.
- From pixels to characters: The engineering behind GitHub Copilot CLI’s animated ASCII banner
GitHub Engineering mediumAdeptAnimating a three-second ASCII banner for GitHub Copilot CLI took over 6,000 lines of TypeScript, mostly spent on terminal inconsistencies, accessibility and maintainable rendering rather than visuals. Terminals have no canvas, frames or compositor, so every frame is repainted with cursor movement and ANSI escape codes. Ink re-renders on state changes but does not manage frame timing or flicker. The team mapped semantic color roles (eyes, goggles, borders) to a minimal user-overridable 4-bit ANSI palette for WCAG-friendly degradation, kept the animation opt-in, short and non-blocking at startup, and built a custom frame editor that exports Ink components.
- 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.
- Unlocking inclusive design: how Primer’s color system is making GitHub.com more inclusive
GitHub Engineering mediumAdeptGitHub's Primer design system fixed hundreds of color contrast violations across light and dark modes and all themes by changing its foundational color tokens (Primer Primitives) rather than individual components. The team audited 100+ text/background color pairs against WCAG ratios (4.5:1 and 3:1) and wrote a script that checks every pair across every theme. The script handles semi-transparent colors by first blending the background onto the page background, then blending the text onto that result. The check now runs as a GitHub Action on every Primer pull request, and the changes were rolled out to staff behind a feature flag before going live.
- A conversation with Figma's accessibility team
Figma easyNovice
Figma's accessibility engineers and PM reflect on shipping screen reader support for prototypes and a FigJam beta. Open-beta feedback showed the feature worked in VoiceOver but needed fixes for JAWS and NVDA. Low-vision users also rely on visuals alongside the screen reader, so the team added positioning data to the accessibility tree, focus-triggered hover interactions, scroll-following, and focus-aware toolbar hiding. For FigJam, designs are translated into HTML with accessibility metadata, and reading order now uses a spatial heuristic that reads left-to-right and top-to-bottom while keeping sticky clusters together, borrowed from find-and-replace. Open problems include announcing real-time collaborative changes and giving designers control over the generated semantic HTML.