carbon
carbon copied to clipboard
Add / Clarify Image component behaviour
Desired behaviour
As requested: raising a GitHub request for the following two changes:
- alt prop will be clarified to always be provided
- ability to set aria-hidden
Ah I see and thanks @Robin Zigmond, perhaps to prevent the abuse of passing of null alt strings, we could add a new prop to Image such as decorative which would automatically handle cases like this. Please could you add this as an enhancement on our github repo @Paul ?
Current behaviour
An error is given if alt prop is empty string and there is no way to set aria hidden
Suggested Solution
n/a
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.
FE-5362
:tada: This issue has been resolved in version 114.12.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket: