Skip to content

Remove aria-invalid when validation state changes to valid #28854

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

Merged
merged 4 commits into from
Dec 28, 2020

Conversation

mkArtakMSFT
Copy link
Contributor

@mkArtakMSFT mkArtakMSFT commented Dec 25, 2020

The original logic for input validation was adding aria-invalid attribute when validation state changed to invalid.
However, as is reported in the below referred issue, the attribute didn't get removed, when state later changed to valid.

This change addresses that issue.

Addresses #28823

@mkArtakMSFT mkArtakMSFT added the area-blazor Includes: Blazor, Razor Components label Dec 25, 2020
@mkArtakMSFT mkArtakMSFT requested review from SteveSandersonMS and a team as code owners December 25, 2020 17:41
@pranavkm pranavkm added this to the 6.0-preview1 milestone Dec 28, 2020
@mkArtakMSFT mkArtakMSFT merged commit cd5303d into master Dec 28, 2020
@mkArtakMSFT mkArtakMSFT deleted the mkArtakMSFT/28823 branch December 28, 2020 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-blazor Includes: Blazor, Razor Components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Razor Component InputBase doesn't remove aria-invalid (added in #23131) when control is valid
2 participants