homepage Welcome to WebmasterWorld Guest from 54.237.95.6
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe and Support WebmasterWorld
Home / Forums Index / WebmasterWorld / Accessibility and Usability
Forum Library, Charter, Moderators: ergophobe

Accessibility and Usability Forum

    
Detecting High Contrast Themes: Possible?
ken_b




msg:4529023
 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?

 

ergophobe




msg:4529122
 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....

ken_b




msg:4529127
 11:40 pm on Dec 17, 2012 (gmt 0)

Thanks

Man, my proofreading sucks!

> high contrast them + high contrast theme
> to dect that = to detect that

ergophobe




msg:4529167
 3:05 am on Dec 18, 2012 (gmt 0)

Here we go -

This is built into the Dojo library
- https://dojotoolkit.org/reference-guide/1.8/dojo/hccss.html
- https://dojotoolkit.org/reference-guide/1.8/dijit/a11y/resources.html
- [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 https://github.com/jquery/jquery-ui/pull/217

ken_b




msg:4529334
 2:37 pm on Dec 18, 2012 (gmt 0)

Thanks Ergophobe.

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Accessibility and Usability
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved