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

Add default ErrorSummary attributes #229

Merged
merged 2 commits into from
Jun 10, 2024

Conversation

Tomdango
Copy link
Member

Fixes Issue #228.

Adds default tabIndex, role and aria-labelledby props to the ErrorSummary component.
A dev warning will be displayed if these default values are changed. In a future release, we can enforce the values of these.

A default ID has been added to the ErrorSummaryTitle so that the aria-describedby prop has a target.

Copy link

sonarcloud bot commented Jun 10, 2024

Quality Gate Passed Quality Gate passed

Issues
2 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 29e890b into main Jun 10, 2024
2 checks passed
@edwardhorsford edwardhorsford deleted the feature/thju1-issue-228-errorsummary-attributes branch June 11, 2024 09:39
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