Skip to content

[SG-35699] Accessibility: Email sign up form input elements are not linked to their error states properly

Administrator requested to merge contractors/SG-35699 into main

Created by: gitstart-sourcegraph

Audit type

Screen reader navigation

User journey audit issue

https://github.com/sourcegraph/sourcegraph/issues/34111

Problem description

The sign up form contains various inputs (email, username, password) that can have different error states, e.g. if the email is invalid or username is already taken. The HTML input elements do not have aria-describedby attribute attached, which means that the error state might not be read correctly by a screen reader.

Expected behavior

All 3 elements should have proper aria-describedby attribute linked to the id of the correct element that actually describes the error state

Refs

Gitstart Ticket Sourcegraph Issue

Test plan

Open sourcgraphweb app Navigate to SignUp page Errors will be read by screen reader if the input doesn't match the requirements

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading