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

audit-avt1-gs-about-carbon: form combobox needs label #1452

Closed
andreancardona opened this issue Jul 28, 2020 · 0 comments
Closed

audit-avt1-gs-about-carbon: form combobox needs label #1452

andreancardona opened this issue Jul 28, 2020 · 0 comments

Comments

@andreancardona
Copy link
Contributor

Environment

Operating system: Mac
Browser: Chrome
AVT 1️⃣
Page: Getting Started - About Carbon
See more info & solution here: #1450

Detailed description:

Form control with "combobox" role has no associated label
Each form control must have an associate

What to do:

  • Add a for attribute to a visible label with the id of this control (e.g. );
  • OR put the UI element inside a visible element;
  • OR add an aria-labelledby attribute to the control. It must point to visible text on the page that is meaningful as a label;
  • OR only if the design cannot have a visible label, use the title attribute to provide a label.

Why is this important?

Associating a meaningful label with every UI control allows the browser and assistive technology to expose and announce the control to a user. Associating a visible label also provides a larger clickable area.

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

1 participant