aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Accessibilty:  question for Secrets of the JavaScript Ninja Authors Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Accessibilty:  question for Secrets of the JavaScript Ninja Authors" Watch "Accessibilty:  question for Secrets of the JavaScript Ninja Authors" New topic
Author

Accessibilty: question for Secrets of the JavaScript Ninja Authors

Ken Duncan
Ranch Hand

Joined: Apr 30, 2007
Posts: 46
I want to be able to have "amped up" accessibility features on a web site, like being able to set the font size dynamically and not have the page text go weird, as it does on many sites if I increase the font size/magnification. I want to be able to do the equivalent of magnifying one specific sector of the screen when requested by users. I don't know if I can do all of those through JavaScript and CSS, but I would like to know what a JavaScript ninja can do. Thanks.

Ken
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61434
    
  67

While some JavaScript would obviously be necessary to react to controls, this would primarily be a CSS issue.

It's pretty easy to muck around with the CSS and the class names of elements with jQuery. That's certainly how I'd go about it.

You can choose to either expand the target section in place within the page; changing its dimensions, perhaps position, and amping up its font size. Or you could show the section to be expanded on a floating display (like a jQuery UI dialog). Depends on the specifics of your requirements and what you want to do.

But it doesn't sound like anything that's too onerous to accomplish with the right tools.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
 
subject: Accessibilty: question for Secrets of the JavaScript Ninja Authors