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

Support using FormLabel for a collection of inputs #847

Open
dg-harris opened this issue Aug 30, 2023 · 0 comments
Open

Support using FormLabel for a collection of inputs #847

dg-harris opened this issue Aug 30, 2023 · 0 comments

Comments

@dg-harris
Copy link
Contributor

When labeling a group of inputs it's recommended to create a fieldset element with a nested legend element. I'd like to add support to treat the FormLabel component as a legend instead of a label for situations like this.

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend

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