Skip to content

[Accessibility]: Improve screen reader compatibility with copy path button

Administrator requested to merge tr/copy-path-screen-reader into main

Created by: umpox

  1. Adds a label to the button, so screen readers can understand what clicking the button will do.
  2. Adds a screenReaderAnnounce to inform screen readers that the action was successful.

Audit issue: https://github.com/sourcegraph/sourcegraph/issues/34418

Test plan

Tested locally with a screen reader

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading