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

Prefix and Suffix Labels Not Being Read by Accessibility Tools #143

Open
karthickrk1 opened this issue Jun 20, 2024 · 0 comments · May be fixed by #144
Open

Prefix and Suffix Labels Not Being Read by Accessibility Tools #143

karthickrk1 opened this issue Jun 20, 2024 · 0 comments · May be fixed by #144
Assignees
Labels

Comments

@karthickrk1
Copy link

karthickrk1 commented Jun 20, 2024

Subject of the issue/enhancement/features

Using the same ID for both the prefix and suffix labels of an input field can cause accessibility issues, where screen readers may not read the suffix value. This can lead to confusion or missing information for users who rely on screen readers.

Steps to reproduce

To ensure the adapt-contrib-textinput component is accessible:-

  • Inspect Element: Use your browser's developer tools to check the HTML structure of the component.-
  • Verify IDs: Confirm that the IDs for prefix and suffix labels are different.-
  • Test with NVDA: Open NVDA and navigate to the component to ensure both prefix and suffix labels are read correctly.-
  • This process helps ensure accessibility for users relying on screen readers like NVDA.

Expected behaviour

The prefix and suffix label ID are same and it is reading only prefix value in screen reader

Actual behaviour

The prefix and suffix label IDs should be different to avoid accessibility issues. This ensures that screen readers can properly read both the prefix and suffix, preventing confusion and ensuring that all necessary information is conveyed to users relying on screen readers

Screenshots (if you can)

text-input

text-input1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Needs Reviewing
2 participants