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

[Accessibility][ConfigPanelText] Controls do not have an accessible name #2361

Closed
mnischay opened this issue Dec 8, 2023 · 0 comments
Closed
Labels
Assigned to HM Work that is being assisted on by HM bug Something isn't working Current sprint low priority

Comments

@mnischay
Copy link
Contributor

mnischay commented Dec 8, 2023

Target Count: 2

Standard: 4.1.2 Name, Role, Value (A)

Affected Groups: Motor Impaired, Screen Reader Users

Severity: Medium

Priority: 3

 

Notes and Advice

Interactive control "Color" do not have an accessible name. The purpose of these controls will not be clear to users of assistive technologies.

Recommendation

The accessible name is the text that identifies and describes the control to assistive technology users. It is programmatically exposed by the browser to assistive technology products (such as screen readers or speech recognition tools).

Provide an accessible name for the control using native HTML elements/attributes or ARIA attributes.

For native labelable controls use a programmatically associated element that specifies the accessible name:

<label for="test">Color
<input type="color" value="var(--color-text-body-default-mmvcvg, #716)" __id="test"_>
Resources
What is an accessible name?
The label element
The difference between aria-label and aria-labelledby

AC

The above violations is fixed

@mnischay mnischay added the bug Something isn't working label Dec 8, 2023
@mnischay mnischay changed the title [Accessibility][ConfigPanelText] Visually grouped controls are not grouped programmatically [Accessibility][ConfigPanelText] Controls do not have an accessible name Dec 8, 2023
@mnischay mnischay added the Assigned to HM Work that is being assisted on by HM label Dec 8, 2023
Kausar-HM added a commit to Kausar-HM/iot-app-kit that referenced this issue Dec 20, 2023
Kausar-HM added a commit to Kausar-HM/iot-app-kit that referenced this issue Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Assigned to HM Work that is being assisted on by HM bug Something isn't working Current sprint low priority
Projects
None yet
Development

No branches or pull requests

2 participants