Skip to content

[SG-35011] - Accessibility: No description for branch pills

Administrator requested to merge contractors/SG-35011 into main

Created by: gitstart-sourcegraph

Description

Add screen reader specific context to pills to indicate what they refer to.

Problem description

Screenshot 2022-05-05 at 21 13 46@2x these pills here are just read aloud by the screen reader without any context. They should likely get some sort of aria label.

Expected behavior

It's clear to the listener what the two words and the arrow refer to.

Ref

SG Issue Gitstart Ticket

Test Plan

  1. Navigate to batch changes list page
  2. Select a batch change
  3. Ensure that: using the screen reader, the branch pills and arrow are announced with more context as to what they refer to (Branch)

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading