[a11y]: Downshift a11y helper text causes error #9841
Labels
component: combobox
package: react
carbon-components-react
role: dev 🤖
severity: 3
https://ibm.biz/carbon-severity
type: a11y ♿
type: bug 🐛
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
The text was updated successfully, but these errors were encountered: