carbon icon indicating copy to clipboard operation
carbon copied to clipboard

Textbox - Validation icon uses invalid ARIA attribues

Open stevebutler2210 opened this issue 3 years ago • 1 comments
trafficstars

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)

Screenshot 2022-08-24 at 12 28 56

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.

stevebutler2210 avatar Aug 24 '22 11:08 stevebutler2210

FE-5337

Parsium avatar Aug 30 '22 12:08 Parsium

:tada: This issue has been resolved in version 117.1.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

carbonci avatar Mar 31 '23 13:03 carbonci