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

Associate a visual label with reach ui custom inputs #946

Open
gaurav5430 opened this issue Jul 22, 2022 · 0 comments
Open

Associate a visual label with reach ui custom inputs #946

gaurav5430 opened this issue Jul 22, 2022 · 0 comments

Comments

@gaurav5430
Copy link

🚀 Feature request

Current Behavior

There is no way to associate a visual label to a lot of reach ui components which can be used for user input

Desired Behavior

There should be a way to associate a visual label to these custom input components, so that interacting with the label triggers the input functionality as it does for native html form inputs

Suggested Solution

In some cases, it might be easy if we are internally using a native element for the custom element, say combobox. Not sure about other elements where internally using a semantic form input is not possible, as there is no way to attach labels to divs or spans or non form input elements

Who does this impact? Who is this for?

Intermediate users

Describe alternatives you've considered

using javascript to enable the label functionality

Additional context

NA

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