fluentui
fluentui copied to clipboard
[Bug][Accessbility]: Cannot add name property on fluent-input without displaying the label
Component
TextInput
Package version
3.0.0-beta.68
@microsoft/fast-element version
2.0.0
Environment
Open latest web components fluentui storybook
Current Behavior
when focus input, it have no name property without displaying the label
Expected Behavior
when focus input, it should have name property without displaying the label
Reproduction
https://web-components.fluentui.dev/?path=/docs/components-textinput--docs
Steps to reproduce
- Go to storybook
- Open text input demo
- Using accessbility insights or Windows narrator when focus the input example (without label)
How can we get name property on the input without displaying the label on the page?
Are you reporting an Accessibility issue?
yes
Suggested severity
High - No workaround
Products/sites affected
No response
Are you willing to submit a PR to fix?
yes
Validations
- [x] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [x] The provided reproduction is a minimal reproducible example of the bug.