E-mail List Archives
Re: CSS Transparent Background and 1.4.3?
From: Jonathan Avila
Date: Jan 24, 2017 11:47AM
- Next message: Shiva Pourgholaminejad: "Having problem with Wave Evaluation"
- Previous message: Moore,Michael (Accessibility) (HHSC): "Re: CSS Transparent Background and 1.4.3?"
- Next message in Thread: None
- Previous message in Thread: Moore,Michael (Accessibility) (HHSC): "Re: CSS Transparent Background and 1.4.3?"
- View all messages in this Thread
> - users *may* have specified that their browser should use specific custom default colours. For this reason, not specifying at least an explicit colour for the body/html elements in addition to a foreground colour would lead to the explicitly defined foreground colour being displayed over any kind of colour - making this impossible to test for conclusively since it will depend on the user's settings (unless your evaluation explicitly mentions that the result is only valid for default browser values).
This is why we have F24: Failure of Success Criterion 1.4.3, 1.4.6 and 1.4.8 due to specifying foreground colors without specifying background colors or vice versa (https://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contrast-contrast.html)
Jonathan
Jonathan Avila
Chief Accessibility Officer
SSB BART GroupÂÂ
<EMAIL REMOVED>
703.637.8957 (Office)
Visit us online: Website | Twitter | Facebook | LinkedIn | Blog
See you at CSUN in March!
The information contained in this transmission may be attorney privileged and/or confidential information intended for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any use, dissemination, distribution or copying of this communication is strictly prohibited.
-----Original Message-----
From: WebAIM-Forum [mailto: <EMAIL REMOVED> ] On Behalf Of Patrick H. Lauke
Sent: Monday, January 23, 2017 7:19 PM
To: <EMAIL REMOVED>
Subject: Re: [WebAIM] CSS Transparent Background and 1.4.3?
On 23/01/2017 18:28, Jim Homme wrote:
> Hi, According to what I just read, transparent is the default if a CSS
> background color isn't coded by the developer. Since I'm totally
> blind,, how does that affect testing for 1.4.3, contrast? For
> instance, are the results different for black text on a white
> background, specifically coded, than they are if the developer just
> specifies black text and allows the default to take over?
Assuming you mean a developer doesn't set explicit background color anywhere, including the body/html elements:
- browsers used to default to a medium/light grey colour as the default; however, most (all?) browsers these days default to a white default for the body/html
- users *may* have specified that their browser should use specific custom default colours. For this reason, not specifying at least an explicit colour for the body/html elements in addition to a foreground colour would lead to the explicitly defined foreground colour being displayed over any kind of colour - making this impossible to test for conclusively since it will depend on the user's settings (unless your evaluation explicitly mentions that the result is only valid for default browser values).
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: Shiva Pourgholaminejad: "Having problem with Wave Evaluation"
- Previous message: Moore,Michael (Accessibility) (HHSC): "Re: CSS Transparent Background and 1.4.3?"
- Next message in Thread: None
- Previous message in Thread: Moore,Michael (Accessibility) (HHSC): "Re: CSS Transparent Background and 1.4.3?"
- View all messages in this Thread