E-mail List Archives
Re: Use of colour
From: Patrick H. Lauke
Date: May 6, 2018 1:14PM
- Next message: Jonathan Cohn: "Figures and Captions and Alt-text oh my..."
- Previous message: Birkir R. Gunnarsson: "Re: Use of colour"
- Next message in Thread: glen walker: "Re: Use of colour"
- Previous message in Thread: Birkir R. Gunnarsson: "Re: Use of colour"
- View all messages in this Thread
On 06/05/2018 20:08, Birkir R. Gunnarsson wrote:
> 1. Color contrast is not required for disabled elements )text to
> background on disabled links do not have to pass the 4.5:1), of course
> if you can make them pass, you should.
Arguably, when the link is not clickable, it turns into an indicator
(rather than just being a disabled element).
> 2. Make sure that the color difference is not the only thing telling
> disabled links from active links. There must be a programmatic
> indication as well, such as using the aria-disabled="true" attribute
> for screen readers (in addition to tabindex='-1", or just removing the
> href attribute from inactive links.
> See the list of conditions in situation a on:
> https://www.w3.org/WAI/WCAG21/Understanding/use-of-color.html
Strangely, I thought there was an exemption for when there's a complete
inversion of foreground/background, but I must have misremembered.
P
--
Patrick H. Lauke
www.splintered.co.uk | https://github.com/patrickhlauke
http://flickr.com/photos/redux/ | http://redux.deviantart.com
twitter: @patrick_h_lauke | skype: patrick_h_lauke
- Next message: Jonathan Cohn: "Figures and Captions and Alt-text oh my..."
- Previous message: Birkir R. Gunnarsson: "Re: Use of colour"
- Next message in Thread: glen walker: "Re: Use of colour"
- Previous message in Thread: Birkir R. Gunnarsson: "Re: Use of colour"
- View all messages in this Thread