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 aria-describedby to fields with help or validation messages #4135

Merged
merged 1 commit into from
Nov 19, 2021

Conversation

bartaz
Copy link
Contributor

@bartaz bartaz commented Nov 19, 2021

Done

Adds aria-describedby to inputs with help text or validation messages.

QA

@webteam-app
Copy link

Demo starting at https://vanilla-framework-4135.demos.haus

@bartaz bartaz added Documentation 📝 Documentation changes or updates Accessibility labels Nov 19, 2021
@bartaz bartaz changed the title WIP: Add aria-describedby to fields with help or validation messages Add aria-describedby to fields with help or validation messages Nov 19, 2021
@bartaz bartaz marked this pull request as ready for review November 19, 2021 14:46
@elioqoshi
Copy link

@bartaz I tried this with the macOS screenreader and it works well I think, everything is said out aloud. I am certainly not an accessibility expert but this looks good to me during testing.

@bethcollins92 bethcollins92 self-assigned this Nov 19, 2021
Copy link
Contributor

@petermakowski petermakowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Awesome to see more a11y improvements coming 💥

Checked this in Firefox with VoiceOver, works perfectly.

Copy link
Contributor

@bethcollins92 bethcollins92 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍🏼

@bartaz bartaz merged commit 2273bfa into canonical:main Nov 19, 2021
@bartaz bartaz deleted the form-a11y branch May 27, 2022 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants