carbon icon indicating copy to clipboard operation
carbon copied to clipboard

Add `aria-descibedby` support to buttons

Open johnb-sage opened this issue 1 year ago • 1 comments

Desired behaviour

When using a screen reader buttons with identical text (in the case of a product catalog) require additional context, such as heading text. Adding support for aria-describedby will allow us to add context without causing the accessible name to deviate from the button text.

Current behaviour

Buttons do not support a aria-describedby prop.

Suggested Solution

No response

CodeSandbox or Storybook URL

No response

Anything else we should know?

No response

Confidentiality

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

johnb-sage avatar Feb 02 '24 16:02 johnb-sage

FE-6364

Parsium avatar Feb 06 '24 14:02 Parsium

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

The release is available on:

Your semantic-release bot :package::rocket:

carbonci avatar Mar 13 '24 13:03 carbonci