[SF][A11y][Avatar]: [Avatar icon text does not meet minimum color contrast requirement ]
Describe the bug
The avatar icon text does not meet the minimum required color contrast ratio of 4.5:1 and has a ratio of 4.2:1
Isolated Example
https://ui5.github.io/webcomponents-react/v2/?path=/docs/data-display-avatar--docs
Reproduction steps
...
Expected Behaviour
Avatar text should meet the minimum color contrast ratio of 4.5:1 against its background.
Screenshots or Videos
No response
UI5 Web Components for React Version
2.18.0
UI5 Web Components Version
2.18.0
Browser
Chrome
Operating System
No response
Additional Context
No response
Relevant log output
Organization
No response
Declaration
- [x] I’m not disclosing any internal or sensitive information.
Hi @tandan0813,
the screenshot you shared is too small to properly review. Please double-check and provide a clearer one.
In the meantime, I’ll forward this to the ui5/webcomponents repository, as the Avatar component is maintained there.
Hello @tandan0813,
I've measured the contrast ratio of the ui5-avatar icons from the link you provided - https://ui5.github.io/webcomponents-react/v2/?path=/docs/data-display-avatar--docs as well as on the playground sample page here - https://ui5.github.io/webcomponents/components/main/Avatar/#icon using the Horizon theme and it matches the accessibility requirements.
The screenshot is not clearly visible, if there is an additional info you could provide please re-open the issue.
This issue has been closed. To reopen, just leave a comment!
Hi @ndeshev Here is the screenshot, could you please help check it again? ColorScheme is "Placeholder".
Hello @UI5/ui5-team-ctr-pir I tested the foreground and background color contrast of the avatars with colors cheme "Placeholder" and it indeed seems to insufficient. The other color schemes are fine, the issue present only with the "Placeholder" one. Could please check it out.
Hello @tandan0813,
I’d like to give you a brief update on your ticket. We have contacted the responsible colleagues from the design organization, and actions have been initiated to address the accessibility issue. We will share more updates with you soon.
Regards, Konstantin
Hello @tandan0813,
I’ve rechecked the theme parameters updated from the design theme, and they are now correct. I’ve attached a screenshot along with the example I tested. I will proceed with closing the issue.
This issue has been closed. To reopen, just leave a comment!