proudcity / wp-proudcity

The ProudCity WordPress platform
https://proudcity.com
Other
21 stars 9 forks source link

Screen reader states the form input field is required twice #2527

Open lukefretwell opened 3 months ago

lukefretwell commented 3 months ago

Source

https://airtable.com/appRFUc45sF4yWFut/tbl51inE74gEWlB0x/viwG9G4vAjsjQEh4g/recccSglFvqcXfa1k?blocks=hide

Describe the bug

A clear and concise description of what the bug is.

The screen reader states the form input field is required twice. This is because the text "required" is visible on the form and the form input field has aria-required="true".

Recommendation

If the field's label already contains the word "required", you don't need aria-required attribute. This avoids that screen reader reading the word twice.

Screenshots

If applicable, add screenshots to help explain your problem.

Required