E-mail List Archives
Re: Use of colour
From: glen walker
Date: May 6, 2018 5:11PM
- Next message: glen walker: "Re: Figures and Captions and Alt-text oh my..."
- Previous message: Jonathan Cohn: "Figures and Captions and Alt-text oh my..."
- Next message in Thread: Fernand van Olphen: "Re: Use of colour"
- Previous message in Thread: Patrick H. Lauke: "Re: Use of colour"
- View all messages in this Thread
Something that wasn't mentioned, and perhaps because you didn't ask
(smile), is that the current link should have aria-current set.
Glen
On Sun, May 6, 2018 at 1:14 PM, Patrick H. Lauke < <EMAIL REMOVED> >
wrote:
> 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: glen walker: "Re: Figures and Captions and Alt-text oh my..."
- Previous message: Jonathan Cohn: "Figures and Captions and Alt-text oh my..."
- Next message in Thread: Fernand van Olphen: "Re: Use of colour"
- Previous message in Thread: Patrick H. Lauke: "Re: Use of colour"
- View all messages in this Thread