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

A "hideLabel" prop for Dropdowns (specifically inline Dropdowns) #7571

Closed
molyholy opened this issue Jan 14, 2021 · 1 comment
Closed

A "hideLabel" prop for Dropdowns (specifically inline Dropdowns) #7571

molyholy opened this issue Jan 14, 2021 · 1 comment

Comments

@molyholy
Copy link

Environment

Browser
Firefox

Assistive technology used to verify
IBM Equal Access Accessibility Checker

Detailed description

What WCAG 2.1 checkpoint does the issue violate?
IBM CI 162 Checkpoint Violation: 1.3.1 Info and Relationships
https://www.ibm.com/able/guidelines/ci162/info_and_relationships.html
https://www.ibm.com/able/guidelines/ci162/name_role_value.html

Steps to reproduce the issue

  1. Log into https://test.cloud.ibm.com/billing-nouveau/invoices
  2. Run the Accessibility Checker

Additional information

  • Screenshots or code

image

  • Notes
  • The inline Dropdown in the top right does not have a "Label" component, which creates an a11y issue. However, adding a label seems to defeat the purpose of the inline Dropdown (and if nothing else, looks kind of weird). The Select component already has a hideLabel prop which hides the label visually but not programatically, and I think the inline Dropdown could really benefit from something similar.

@dakahn @ryanomackey

@dakahn
Copy link
Contributor

dakahn commented Jan 14, 2021

I'm cool with this. We have these on various Textinputs and the Select component.

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

No branches or pull requests

3 participants