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

Improve documentation of beforeInput(s) and afterInput(s) options of our form control components #5130

Open
1 task
romaricpascal opened this issue Jul 12, 2024 · 0 comments

Comments

@romaricpascal
Copy link
Member

romaricpascal commented Jul 12, 2024

What

Research and document which kind of content is OK/not OK to put in the beforeInput(s) and afterInput(s) options of our form components, introduced in #4567 to ensure all users (especially those using assistive technology) get proper access to the content.

Why

Because the content ends up inside a form field, where the control is associated to the label/legend and any error/hint, there's a risk that content injected through beforeInput(s)/afterInput(s) options gets missed when navigating from field to field, the focus skipping over the content to the next form field.

This means we may want to suggest restrictions as to which content is suitable for these options, possible techniques to link the content so it gets announced when navigating from field to field, and possibly a warning to test thoroughly.

Who needs to work on this

Developers, Accessibility specialist, possibly Designers

Who needs to review this

Developers, Accessibility specialist, possibly Designers

Done when

  • We've clarified how to best use the beforeInput(s) and afterInput(s) options of our form components.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant