amplify-ui icon indicating copy to clipboard operation
amplify-ui copied to clipboard

Autocomplete field hides label by default

Open awinberg-aws opened this issue 2 years ago • 0 comments

Before creating a new issue, please confirm:

On which framework/platform are you having an issue?

React

Which UI component?

Other

How is your app built?

Create React App

What browsers are you seeing the problem on?

Chrome

Which region are you seeing the problem in?

No response

Please describe your bug.

The autocomplete field component hides its label by default. This behavior appears is different from the other field components in the library, and the accompanying documentation reads as if it should be shown by default, citing accessibility as justification for this pattern, describing hiding the label as situationally desirable, and providing additional accessibility recommendations when going that route.

docs

What's the expected behaviour?

Expected behavior is that the label is displayed by default

Help us reproduce the bug!

This can be reproduced by viewing the samples on the Amplify UI docs site. https://ui.docs.amplify.aws/react/components/autocomplete#usage

Code Snippet

// Put your code below this line.

Console log output

No response

Additional information and screenshots

No response

awinberg-aws avatar Apr 01 '24 16:04 awinberg-aws