Hello,
We are working on a CMS application which content must also respect some accesibility rules. Yet the content can be edited and we are using a FCKEditor. One of the functionalities which where not configured out is setting the fontsize.
Here is my configuration for fonts:
FCKConfig.FontSizes = '-2/très petite taille;-1/petite taille;+0/taille normale (par défaut);+1/taille moyenne;+2/grande taille;+3/très grande taille;+4/taille maximum';
Yet for the +x fonts the result is without the +. I guess it is because of the use of the parseInt() function in the function which changes the fontsize.
Is there a way to use relative fonts, other than removing this conversion?
Thank you,
Len
We are working on a CMS application which content must also respect some accesibility rules. Yet the content can be edited and we are using a FCKEditor. One of the functionalities which where not configured out is setting the fontsize.
Here is my configuration for fonts:
FCKConfig.FontSizes = '-2/très petite taille;-1/petite taille;+0/taille normale (par défaut);+1/taille moyenne;+2/grande taille;+3/très grande taille;+4/taille maximum';
Yet for the +x fonts the result is without the +. I guess it is because of the use of the parseInt() function in the function which changes the fontsize.
Is there a way to use relative fonts, other than removing this conversion?
Thank you,
Len
RE: accesibility content, using relative font
RE: accesibility content, using relative font
It's true that in order to fullfil WAI guidelines or work with XHTML the font tags shouldn't be used at all, but I don't really see that as an accesibility issue because if the font size is defined as a relative then the user should be able to change the text size as he please even in IE (although if the user is using a better browser like Opera then he can zoom all the elements of the page, and in Firefox he can zoom all the text no matter how it's size has been specified)
So, yes, font tags are bad, bad, bad. Use CSS instead, but the style combo in FCKeditor can be a little troublesome to use
RE: accesibility content, using relative font