Skip to content

Remove aria-required for required fields in HTML5#1823

Merged
nashby merged 2 commits intoheartcombo:mainfrom
aduth:rm-aria-required
Jun 21, 2024
Merged

Remove aria-required for required fields in HTML5#1823
nashby merged 2 commits intoheartcombo:mainfrom
aduth:rm-aria-required

Conversation

@aduth
Copy link
Copy Markdown
Contributor

@aduth aduth commented Oct 31, 2023

Closes #1822

This pull request proposes to remove the inclusion of the aria-required attribute on required fields, since the fields are already assigned the required attribute which would be used by assistive technology to convey the field requirement. See #1822 for additional context.

@nashby nashby merged commit c439da9 into heartcombo:main Jun 21, 2024
@nashby
Copy link
Copy Markdown
Collaborator

nashby commented Jun 21, 2024

@aduth thank you!

@aduth aduth deleted the rm-aria-required branch December 4, 2024 15:11
tagliala added a commit to DavyJonesLocker/client_side_validations-simple_form that referenced this pull request Dec 8, 2025
Adjust expectations regarding the aria-required attribute in accordance
with SimpleForm 5.4.0's updated handling

Ref: #heartcombo/simple_form#1823

Close #199
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Redundant aria-required on required fields

2 participants