Re: Color contrast requirement clarification in hover state of dropdown element
Kiran Gundiyal <[email protected]> Thu, 7 May 2020 22:38:19 -0500
| Newsgroups | gmane.org.w3c.accessibility.general |
|---|---|
| Message-ID | <[email protected]> |
Thanks Patrick for your clarification and response. Much appreciated=20 Sent from my iPhone > On May 7, 2020, at 6:11 PM, Patrick H. Lauke <[email protected]> wrot= e: >=20 > =EF=BB=BFOn 07/05/2020 23:02, Kiran wrote: >> Hi All, >> Hope you are staying safe. >> I appreciate your inputs and thoughts in clarifying color contrast requir= ements in hover state of the dropdown element. >> As shown in an example below, on hover state: the dropdown element text "= Willie" passes accessibility on that light gray, which is #DbDbDb. But the l= ight gray #DBDBDB color doesn't meet accessibility on white. So my question i= s: does the gray have to be discernible from white when next to each other t= o pass WCAG 2.1 AA ? >=20 > I'm assuming this isn't just the hover state, but the focus state as well?= In which case I'd say that yes, the background of the currently focused ite= m needs to have sufficient contrast (at least 3:1) against the white backgro= und (per 1.4.11, as that background color is the only visual indication of t= he focused/selected state). >=20 > P > --=20 > Patrick H. Lauke >=20 > https://www.splintered.co.uk/ | https://github.com/patrickhlauke > https://flickr.com/photos/redux/ | https://www.deviantart.com/redux > twitter: @patrick_h_lauke | skype: patrick_h_lauke >=20