| Welcome to WebmasterWorld Guest from 126.96.36.199 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|Detecting High Contrast Themes: Possible?|
| 5:35 pm on Dec 17, 2012 (gmt 0)|
I'm not sure how to describe this question/situation.
Some operating systems (win 7, etc) let a user select a high contrast them for the system.
Is there anyway for a website to dect that and serve content designed for a high contrast environment?
Does a browser send this kind of info, or can it be made to send it?
| 11:09 pm on Dec 17, 2012 (gmt 0)|
Basically, accessibility mode doesn't allow background images to show, so you can test for that.
Essentially, you inject a background image with a known name into a div with a known ID, and then you test for whether or not it's there.
Trying to find a good resource....
| 11:40 pm on Dec 17, 2012 (gmt 0)|
Man, my proofreading sucks!
> high contrast them + high contrast theme
> to dect that = to detect that
| 3:05 am on Dec 18, 2012 (gmt 0)|
Here we go -
This is built into the Dojo library
There's been some work on it in JQuery UI but I don't think it's part of any stable release.
- [bugs.jqueryui.com...] and https://github.com/jquery/jquery-ui/pull/217
| 2:37 pm on Dec 18, 2012 (gmt 0)|
I've been reading through those links and think I get the basic idea. Might have more questions later.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved