Date Picker: Focus on the Calendar Icon fails to meet minimum required color contrast of 3:1 for visual focus outlines.
OpenUI5 version: 1.127.0
Browser/version (+device/version): Google Chrome 128.0.6613.138
Any other tested browsers/devices(OK/FAIL):
URL (minimal example if possible): https://ui5.sap.com/#/entity/sap.m.DatePicker/sample/sap.m.sample.DatePicker
User/password (if required and possible - do not post any confidential information here):
Steps to reproduce the problem:
- Focus on the DatePicker Icon
What is the expected result? Focus outline around all focusable elements must be distinct and pass a minimum of 3:1 Color contrast against its background.
What happens instead? Color contrast fails with 1.6:1 ratio
Any other information? (attach screenshot if possible)
hey @achuth2912
The icon in any input field could not be focused. I am not sure where is the focused placed in your example. Could you please provide steps to reproduce?
Best Regards, Martin
When we open the calendar using the Keyboard shortcut the Color contrast around icon fails.
Hello @achuth2912 ,
In your last comment I see that the focus is inside the Calendar on date "11". And the focus color is correct. The calendar icon is inside button, which is not focused. The outline of this button is decorative and do not need to fulfill color contrast ratio. I see no issue here.
Regards, Lidiya
Since there is no response from the author for more than 4 weeks I'm closing the ticket.