govuk-frontend
govuk-frontend copied to clipboard
JAWS on Edge reads out entire href of error summary link
Description of the issue
When using JAWS on Edge, the error summary reads out the entire href of the page it's on as well as the error itself, making the announcement needlessly verbose. This was first noticed during the testing for https://github.com/alphagov/govuk-frontend/pull/2677 and was later reported by a user in this zendesk ticket .
Steps to reproduce the issue
- In Edge using JAWS, go to https://govuk-frontend-review.herokuapp.com/examples/error-summary-with-messages
- Navigate to the first error summary link
Actual vs expected behaviour
Expected
JAWS only announces the error's text, announcing that it's a link.
Actual
JAWS announces the error summary text and the entire href of the page (likely the link itself as error summary links are anchor links)
Environment (where applicable)
- Browser: Edge
- Browser version: 121
- JAWS version: 2022.2207.25
- GOV.UK Frontend Version: 5.1.0