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

Should FieldSet/Field.HelperText use aria-describedby? #471

Open
Southclaws opened this issue Nov 16, 2024 · 0 comments
Open

Should FieldSet/Field.HelperText use aria-describedby? #471

Southclaws opened this issue Nov 16, 2024 · 0 comments

Comments

@Southclaws
Copy link

I was looking at FieldSet/Field for some form controls I'm building which have two-tier labels, one for the name of the field (a short, one or two word label) and then a longer description that explains the functionality in greater detail. My understanding of ARIA approaches for these kinds of form fields is that the input element holds both an ID for the htmlFor and then an aria-describedby which points to the longer description. This results in screen-readers reading both (first the label, then a short pause, then the longer description)

Has this been considered for Field.HelperText, would it make sense? Thanks!

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

No branches or pull requests

1 participant