Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix aria attributes on error messages #230

Merged

Conversation

Tomdango
Copy link
Member

@Tomdango Tomdango commented Jun 10, 2024

Closes issues #212 and #227.

This changes the aria-labelledby attribute on form groups to point to an error message, if present.
The linking of the label is already handled by the htmlFor prop on the Label component.

Copy link

sonarcloud bot commented Jun 10, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@Tomdango Tomdango merged commit d033806 into main Jun 10, 2024
2 checks passed
@Tomdango Tomdango deleted the feature/thju1-issue-227-add-ariadescribedby-to-errormessage branch June 10, 2024 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants