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]: Downshift a11y helper text causes error #9841

Closed
2 tasks done
dakahn opened this issue Oct 11, 2021 · 1 comment
Closed
2 tasks done

[a11y]: Downshift a11y helper text causes error #9841

dakahn opened this issue Oct 11, 2021 · 1 comment

Comments

@dakahn
Copy link
Contributor

dakahn commented Oct 11, 2021

Package

carbon-components-react

Browser

No response

Operating System

No response

Package version

latest

Automated testing tool and ruleset

JAWS

Assistive technology

No response

Description

Regarding the input…. the error message is coded as:
<div role="alert" class="bx--form-requirement" id="comment_1.1.1-error-msg">External comment is required</div>

"The default of an alert is aria-live=assertive. So, if you set the error to show when the input is blurred… you tab off of the input, the alert is announced, and the thing that you tabbed to is not announced at all (squashed by the assertive). I /think/ adding aria-live="polite" will ensure the message is announced, but won’t squash the announcement of the thing I’ve tabbed to. Unfortunately, I don’t have a great way of really testing this to confirm what it would do as polite."

WCAG 2.1 Violation

No response

CodeSandbox example

https://codesandbox.io/s/github/carbon-design-system/carbon/tree/main/packages/react/examples/codesandbox

Steps to reproduce

see above

Code of Conduct

@carbon-bot
Copy link
Contributor

Hi there! 👋 You may have seen that v10 reached it's end of support on September 30, 2024. In the interest of keeping a tidy issue queue, issues flagged as relating to v10 will be closed.

If this issue is still relevant, please open a new issue with a link to this issue and a reproduction that uses v11.

Thanks again for your participation and contributions to this issue and the Carbon ecosystem! 💙

@carbon-bot carbon-bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 11, 2024
@github-project-automation github-project-automation bot moved this from ⏱ Backlog to ✅ Done in Design System Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ✅ Done
Development

No branches or pull requests

4 participants