Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Accessibilty: question for Secrets of the JavaScript Ninja Authors

 
Ken Duncan
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64838
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic