carbon icon indicating copy to clipboard operation
carbon copied to clipboard

Resolve accessibility violation for validation icon

Open kishanivelupillai-sage opened this issue 3 years ago • 1 comments
trafficstars

Current behaviour

Axe reports accessibility issue for validation icon in Textbox component.

Issue Description: Ensures ARIA attributes are allowed for an element's role Fix the following: aria-label attribute cannot be used on a span with no valid role attribute.

Axe Report Screenshot

image

Expected behaviour

Axe does not report accessibility issues for validation icon.

CodeSandbox or Storybook URL

https://codesandbox.io/s/validation-icon-accessibility-m4fu34

JIRA Ticket (Sage Only)

No response

Suggested Solution

No response

Carbon Version

109.1.2

Design Tokens Version

2.40.0

What browsers are you seeing the problem on?

Chrome

What Operating System are you seeing the problem on?

MacOS

Anything else we should know?

No response

Confidentiality

  • [X] I confirm there is no confidential or commercially sensitive information included.

kishanivelupillai-sage avatar Sep 22 '22 12:09 kishanivelupillai-sage

FE-5382

robinzigmond avatar Sep 27 '22 12:09 robinzigmond

: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