[SG-34973]Accessibility: Commits page - Copy SHA button does not inform screen readers of status
Created by: gitstart-sourcegraph
Audit type
Screen reader navigation
User journey audit issue[
Description
Currently, the screen reader
doesn't announce when the git commit
is copied to the clipboard.
Refs
SourceGraph Issue GitStart Issue
Expected behavior
We should use screenReaderAnnounce to quickly inform users when this state changes.
Test Plan
-
Navigate to Git Commits -
Use the screen reader
and on the copy icon, it should announce the labelCopy full SHA
. -
Clicking on the copy icon should announce Copied!
Test Loom Video
https://www.loom.com/share/18b8593c06ae43cbb28c2868341e2c88
App preview:
Check out the client app preview documentation to learn more.