In Wordpress 5.9 accessibility issue is coming in block editor panel color setting
Description
In Wordpress 5.9 accessibility issue is coming in block editor panel color setting when we open the color palette same time setting panel highlighted "Text" with foreground and background color. we faced issue is the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds. Elements must have sufficient color contrast.
To solve this issue we need to check element has insufficient color contrast of 4.01(foreground color: #007cba, background color: #f0f0f0, font size: 9.8pt (13px), font weight: normal). Expected contrast ratio of 4.5:1
Step-by-step reproduction instructions
1.Go to editor side 2.Open block editor color panel setting 3.Scan the selected portion of color panel setting
Screenshots, screen recording, code snippet
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
Hi Team, Do we have any specific selected color code which needs to be used?. Or we are good to go for the fix on this ticket?
Hi We need to change color contrast ratio from 4.0.1 to above 4.5 . Thanks
Hi, This issue has gone 180 days without any activity. This means it is time for a check-in to make sure it is still relevant. If you are still experiencing this issue with the latest versions, you can help the project by responding to confirm the problem and by providing any updated reproduction steps. Thanks for helping out.
To solve this issue we need to check element has insufficient color contrast of 4.01(foreground color: #007cba, background color: #f0f0f0, font size: 9.8pt (13px), font weight: normal). Expected contrast ratio of 4.5:1
I wasn't able to see the actual contrast now with the suggested colors, this is what I see. However, you can see that the editor picks up that this is not a good color contrast. I will be closing this issue now.
WordPress 6.0.1 Gutenberg 14.1.1
Feel free to re-open if that is not the case