carbon
carbon copied to clipboard
Textbox - Validation icon uses invalid ARIA attribues
Current behaviour
When using Textbox validation (and presumably others), the validation icon is presented as a span with an aria-label attribute set, but no valid role attribute.
This has been detected when running the Axe Dev Tools to check for accessibility requirements and can be recreated in Storybook on the latest Carbon version (see below)

Expected behaviour
A valid role is applied to the span in question. No error appears when scanning using Axe Dev Tools.
CodeSandbox or Storybook URL
https://carbon.sage.com/?path=/docs/textbox--validations-string-component
JIRA Ticket (Sage Only)
SKPU-7210
Suggested Solution
No response
Carbon Version
110.1.1
Design Tokens Version
No response
What browsers are you seeing the problem on?
Chrome
What Operating System are you seeing the problem on?
MacOS, Windows
Anything else we should know?
No response
Confidentiality
- [X] I confirm there is no confidential or commercially sensitive information included.
FE-5337
:tada: This issue has been resolved in version 117.1.2 :tada:
The release is available on:
Your semantic-release bot :package::rocket: