Gate Wizard wrote: > I have a question concerning PX with Fonts and WCAG 1.0 > > Should fonts declared with a size in Pixels fail a WCAG 1.0 test? > > I find a lot of references that font size must be in a relative unit > i.e; EM or Percent but W3 says px IS a relative unit, though relative > to the device it's displayed on.
The CSS pixel is/can be/is supposed to be mapped to various screen resolution - dpi, so it is relative in that sense. Somewhat inconsistent implementation though, so what is/should be according to W3C may not necessarily be true in the real world of UA software and devices. Text size is treated different from the CSS pixels mentioned above, which makes the relativity of the whole issue even more relative (and a lot of fun), but not more consistent. Reality check: - IE/win can't resize text with font-sizes declared in pixels - only ignore all font-sizes declared in web pages. - IE/win can neither resize nor ignore line-heights declared in pixels. - Opera can't resize line-heights declared in pixels, but will otherwise resize all text when "told" to. - Most other browsers can resize text with both font-sizes and line-heights declared in pixels. The above results in inconsistent presentation of text with font-size and/or line-height declared in pixels under user-induced stress - font-resizing, 'ignore font-size', 'minimum font size' etc, and may result in pretty inaccessible content and low usability-factor. This should in itself make the use of pixels for text sizing a less than optimal solution. Add in inconsistencies when it comes to how browsers map anything to various screen resolutions, and pixels for text size may start to look as an even less optimal solution. Since WCAG tends to focus on reality (I think) - as those behind it know it at the time of writing, I guess they may let font-sizes declared in pixels fail for the same reason as conscious designers do - because they may not work well, or at all, for end-users who need/want to introduce text size changes. Try asking on <http://www.webaim.org/discussion/> or <http://www.accessifyforum.com/> for more WCAG focused responses. regards Georg -- http://www.gunlaug.no ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/