Accessibility considerations behind code search and code view
Jul 6, 2023milemons

Summary
This post details the implementation of accessibility improvements for GitHub's code search and code view. It covers process improvements through external auditing, design reviews, and office hours. Specific implementation details include managing focus after sort order changes in code search, announcing search results for screen reader users, the development of an open-source TreeView component for file tree navigation, and rethinking code structure in the DOM to support keyboard navigation and screen readers. It also addresses challenges with virtualization and symbol panel navigation, proposing a solution modeled after the Monaco editor using `contentEditable` divs.