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

[a11y]:The <label> element does not have descriptive text that identifies the expected input #17613

Closed
2 tasks done
parul-26 opened this issue Sep 30, 2024 · 0 comments
Closed
2 tasks done

Comments

@parul-26
Copy link

Package

@carbon/react

Browser

Chrome

Operating System

MacOS

Package version

1.40.0

React version

18.2.0

Automated testing tool and ruleset

IBM Equal Access Accessibility Checker

Assistive technology

No response

Description

Missing Descriptive Text for Elements:
The element associated with input fields does not contain descriptive text that clearly identifies the expected input.

MultiSelect Dropdown Error Display Bug:
There is a bug with the MultiSelect dropdown functionality where error messages are being displayed in an unintended location within the user interface. Instead of appearing directly below or next to the MultiSelect component, the error messages are shown elsewhere in the UI, making it unclear to users which input field the error refers to.

image

WCAG 2.1 Violation

No response

Reproduction/example

https://codesandbox.io/p/devbox/dazzling-sanderson-7p8z9k?workspaceId=aef1e2f0-a29f-4df8-8da4-6a62a57c276b

Steps to reproduce

1.Navigate to the page containing the MultiSelect dropdown.
2.Attempt to select an option or leave the selection blank in the MultiSelect dropdown that triggers an error (e.g., validation error).
3.Observe where the error message is displayed in the UI.

Suggested Severity

None

Code of Conduct

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

No branches or pull requests

2 participants