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

Label hidden prop not working #1130

Open
danieldeichfuss opened this issue Jan 24, 2025 · 2 comments
Open

Label hidden prop not working #1130

danieldeichfuss opened this issue Jan 24, 2025 · 2 comments
Labels

Comments

@danieldeichfuss
Copy link

Project Information

mStudio Extension

Feedback

We have a very simple form with only one input field. The extension is a note taking extension. We believe in this scenario showing the label would just visually clutter the UI. This is why we would like to visually hide the label without impacting the accessibility of this text area.

But the hidden prop of the <Label /> component has no effect.

<Label hidden={true}>Notiz</Label>
Image
@Lisa18289
Copy link
Member

You can just remove the label and add a "aria-label" prop to the TextArea. But your right, the hidden prop should also have an effect, we will have a look at that issue

@danieldeichfuss
Copy link
Author

You can just remove the label and add a "aria-label" prop to the TextArea. But your right, the hidden prop should also have an effect, we will have a look at that issue

Good idea. Thank you. Will do that for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants