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

fix(directives): fix accessibility issues #1072

Closed

Conversation

st3fun1
Copy link
Contributor

@st3fun1 st3fun1 commented Oct 27, 2022

Description

In some cases the suffix/prefix directives should not be linked to the input.

For example when the input contains a hint and a suffix, Voice Over reads the description of the input in a weird way.

The issue revolved around aria-describedBy, in the code the suffix/prefix was directly linked to the input, in this case aria-hidden wasn't doing anything.

More details can be found in the linked issue.

Fixes Input with text suffix: VoiceOver reads suffix even though aria-hidden is present

Checklist:

  • The commit messages follow the convention for this project
  • I have provided an adequate amount of test coverage
  • I have added the functionality to the test app
  • I have provided a story in storybook to document the changes
  • I have added the documentation
  • I have added any new public feature modules to public-api.ts

@st3fun1 st3fun1 requested a review from a team as a code owner October 27, 2022 14:06
@st3fun1 st3fun1 closed this Nov 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Input with text suffix: VoiceOver reads suffix even though aria-hidden is present
1 participant