Welcome to WebmasterWorld Guest from 54.159.190.106

Forum Moderators: ergophobe

Message Too Old, No Replies

Detecting High Contrast Themes: Possible?

   
5:35 pm on Dec 17, 2012 (gmt 0)

WebmasterWorld Senior Member ken_b is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



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)

WebmasterWorld Administrator ergophobe is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



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)

WebmasterWorld Senior Member ken_b is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



Thanks

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)

WebmasterWorld Administrator ergophobe is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



Here we go -

This is built into the Dojo library
- [dojotoolkit.org...]
- [dojotoolkit.org...]
- [dojotoolkit.org...]

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 [github.com...]
2:37 pm on Dec 18, 2012 (gmt 0)

WebmasterWorld Senior Member ken_b is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



Thanks Ergophobe.

I've been reading through those links and think I get the basic idea. Might have more questions later.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month