fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

[Bug][Accessbility]: Cannot add name property on fluent-input without displaying the label

Open imink opened this issue 1 year ago • 0 comments

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 Image

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

  1. Go to storybook
  2. Open text input demo
  3. 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.

imink avatar Oct 12 '24 09:10 imink