WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: JavaScript to increase/decrease font size

for

From: Joshue O'Connor
Date: Jan 17, 2005 3:00AM


Hi Estelle,

It is OK to use Javascript as long as you provide a non-Javascript
alternative for user agents that dont use it. Another suggestion
for your font size problem would be to use relative font sizes (ems)
in your CSS. This means that the client can easily change the font size
themselves without the use of Javasript.

Hope this helps

Josh O Connor
CFIT Ireland