about
about copied to clipboard
[A11y]: Previous page meta title is read when link is clicked
Audit type
Screen reader navigation
User journey audit issue
#5500
Problem description
While using a screen reader, if I click a link, the previous page meta title is read, instead of the current/new page. This is confusing to a user.
Steps to reproduce:
-
Navigate to home (about.sourcegraph.com)
-
Turn on your screen reader.
-
Click into
Request a demo
button link. -
Notice "Sourcegraph | Code Intelligence Platform" is read first, instead of "Request a Demo | Sourcegraph".
-
Navigate to (about.sourcegraph.com/code-insights)
-
Turn on your screen reader.
-
Click into
Request a demo
button link. -
Notice "Sourcegraph | Code Insights" is read first, instead of "Request a Demo | Sourcegraph".
Expected behavior
As a user utilizing a screen reader, I expect button actions to focus on the correct next item so I understand my action was completed. When a link is clicked, the current/new page meta title is what should be picked up by screen readers.