View Full Version : Accessibility?
Danny
March 4th, 2005, 12:24
Hey,
How do i make a link on my site to increase/decrease the font size within the set range of my choice?
Something like a stylesheet changer?
Cheers,
Pauly
March 4th, 2005, 14:00
Hmm I've done something like this before I'm sure there's a thread here in the programming section, I'll have a quick search when I get time.
the_pm
March 4th, 2005, 14:02
This is an element you really can't control. Even if you offer a style sheet changer, anyone can boost or reduce fonts through their browser on their own. I've created a switcher before, but it was done using cookies and JavaScript, and it was only for Intranet training module purposes, so using that technology made sense.
Pauly
March 4th, 2005, 14:06
You could just use JS to control the up and down of the button and use noscript to display alternative content - Or just forget it ;) lol
Danny
March 4th, 2005, 14:10
I have seen it on sites i reguararly get directed to by clients who are working in a disability aware business envirnoment (if that makes sense)
Such as : http://www.mssociety.org.uk/
Note the text larger link at the top left, with the alt tag "cycle between 3 different text sizes".
How has that been achieved?
Danny
March 4th, 2005, 14:13
http://www.spoono.com/javascript/tutorials/tutorial.php?id=18
Ignore me ppl, im gonna have a go at that ;)
Cheers,
Pauly
March 4th, 2005, 14:16
I'm pretty sure using JS but they seem to have forgotten a couple things which you should avoid if you do this;
1. The page is reloading not changing on the fly
2. On the last cycle it still says Text Larger but then gets smaller
(On a personal note they use way to many images)
Danny
March 4th, 2005, 14:17
Yeah thats something that stuck on my mind the first time i went on the site, not sure if they are aiming at users who are reading the alt tags with vision imparement software?
the_pm
March 4th, 2005, 14:26
Danny, if the concern is accessibility, why not simply make sure your design adjusts gracefully when people resize your text? Just let the browsers do the work. It's best to let people get comfortable with their software, as opposed to having completely different mechanisms on every other site for changing viewing.
Danny
March 4th, 2005, 14:34
OK, i am thinking exactly the same thing, cheers
vBulletin® v3.6.8, Copyright ©2000-2010, Jelsoft Enterprises Ltd.