ods-ios
ods-ios copied to clipboard
Update background color of button in disable state
If we put the button on yellow surface we have this:
Today we use Color(UIColor.quaternarySystemFill) with an alpha. So what is the right token color ?
This button should not appear on a yellow background, it will only appear on light and dark surfaces, so there should be no issue with colour. In terms of accessibility there is not criteria for colour contrast in the W3C standards for disabled UI elements. In fact it specifically says disabled elements do not need to meet the criteria:
https://www.w3.org/WAI/WCAG21/Understanding/contrast-minimum.html