Welcome to WebmasterWorld Guest from 54.226.133.245

Forum Moderators: ergophobe

Message Too Old, No Replies

Detecting High Contrast Themes: Possible?

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

Senior Member from US 

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

joined:Oct 5, 2001
posts:5667
votes: 60


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)

Moderator This Forum

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

joined:Apr 25, 2002
posts:8127
votes: 88


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)

Senior Member from US 

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

joined:Oct 5, 2001
posts:5667
votes: 60


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)

Moderator This Forum

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

joined:Apr 25, 2002
posts:8127
votes: 88


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)

Senior Member from US 

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

joined:Oct 5, 2001
posts:5667
votes: 60


Thanks Ergophobe.

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

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members