View Single Post
Old 03-12-2008, 10:12 AM   #3 (permalink)
wolf99
Code Monkey
 
wolf99's Avatar
 
Join Date: Jan 2006
Location: in college (again) in rural Eire
Posts: 45
wolf99 is on a distinguished road
yeah I know the empty alt"" is pretty bad, but I have the text next to the image as well so the image is like a clickable icon not an actual button link

that means if the image is not displayed and there is alt text it renders as
"print page print page" a bit confusing.

anyhoo.

I ran the site thru a accesibilty checker that checks a little bit more than is the XHTML valid.

It said JS should be inside <script> tags so that a <noscript> alternative can be presented should the user be on a platform that cannot access JS

Thing is as, I usually try to design very minimal purist code, I hate using JS and have never really learnt it bar the few copy and pastes from tutes etc

So I need to be able to present (if JS is available) a link that may print the page if clicked and (if JS not available) otherwise not show a link at all.

Not showing the link I think is the best thing for non JS users as they can still use the print command in their client and chances are they have a non-standard set up so may not want to print direct with default print settings.

phew* thanks for the input
wolf99 is offline   Reply With Quote