-
Notifications
You must be signed in to change notification settings - Fork 6
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
[select] style bug if no label #1250
Comments
there's no place holder in the select component, it present the first option in the inside list. |
@yinonov maybe we need to add an option for "hideLabel" that hides visually the label but keeps the aria-label. |
select supports aria-label/labeledby. what's the benefit of it? |
Hi, |
@RoyMenczerVonage it's out https://github.com/Vonage/vivid/blob/master/CHANGELOG.md#2260-2022-03-13 |
Thanks |
Describe the bug
select with no label positions the selected option as if it considers a label present.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
style should be conditioned in css and align the selected option to vertical middle if no label.
note that dense select should not be affected
Screenshots
Additional context
Dense no label features a WCAG violation as form associated element must have a label.
These use cases should instruct consumers of this violation unless compensated by
aria-label
/aria-labeledby
. should be added to guideline?The text was updated successfully, but these errors were encountered: