2, Serious. Should be fixed in 1-2 sprints post-launch.
Details
The logged in Benefits letters confirm address page is not managing focus to the H1 correctly on first page load. This is confusing to screen readers because either no information is being read or too much information is being read. Ideally we want to hear "VA Letters and Documents, heading level one" and nothing else when the page loads. Screenshot attached below.
Reproduction steps
Log into staging with a test user who has benefit letters. I had good luck with user 54.
Point of contact
Trevor Pierce
Severity level
2, Serious. Should be fixed in 1-2 sprints post-launch.
Details
The logged in Benefits letters confirm address page is not managing focus to the H1 correctly on first page load. This is confusing to screen readers because either no information is being read or too much information is being read. Ideally we want to hear "VA Letters and Documents, heading level one" and nothing else when the page loads. Screenshot attached below.
Reproduction steps
document.activeElement
into the console.Proposed solution or next steps
We should add a React
ref
andtabindex="-1"
to the H1. Using theuseEffect
hook we can then check for the ref and set focus on the H1 on first render.References, articles, or WCAG support
Type of issue