| Author |
Accessibilty: question for Secrets of the JavaScript Ninja Authors
|
Ken Duncan
Ranch Hand
Joined: Apr 30, 2007
Posts: 35
|
|
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: 56541
|
|
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.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
 |
|
|
subject: Accessibilty: question for Secrets of the JavaScript Ninja Authors
|
|
|