RE: WCAG2 Conformance Questions

I actually expanded on your ideas and came up with something new and web
accessible!

I created an entire new stylesheet where only that one cell would fill up
the screen, then set it to media="print". But, I still have my old
stylesheet. Therefore, on my page, I have two stylesheets; one for screen,
one for print.

IT WORKS PERFECTLY!

Sincerely,
Ryan Jean
Assistant IT Specialist
The Disability Network
Flint, MI


-----Original Message-----
From: David Woolley [mailto:forums@david-woolley.me.uk] 
Sent: Monday, August 25, 2008 11:41 AM
To: Ryan Jean
Cc: w3c-wai-ig@w3.org
Subject: Re: WCAG2 Conformance Questions

Ryan Jean wrote:
> It didn't work.

Unless you have a higher priority rule that sets some other display 
value, it certainly should work on any reasonably modern browser - in 
fact, the failure mode on older browsers, would be to suppress that text 
  not just in the printout.

Generally you will find that print media types are honoured on both 
actually printing and print previewing.

However, from a semantics point of view, it would be better to use 
something like:

<div class=".... navigation ....."...

and use a "." selector, e.g.

.navigation, .banneradvert {display: none}

or whatever other reason applies for the content being noise.
> Flint, MI
> 
> 
> -----Original Message-----
> From: David Woolley [mailto:forums@david-woolley.me.uk] 
> Sent: Monday, August 25, 2008 11:14 AM
> To: Ryan Jean
> Cc: w3c-wai-ig@w3.org
> Subject: Re: WCAG2 Conformance Questions
> 
> Ryan Jean wrote:
>>
>> What does the media="print" do?
>>
> 
> Assuming the syntax is good, it causes the enclosed style rules only to 
> apply when printed.  Typically you code all your navigation stuff as 
> display:none.
> 


-- 
David Woolley
Emails are not formal business letters, whatever businesses may want.
RFC1855 says there should be an address here, but, in a world of spam,
that is no longer good advice, as archive address hiding may not work.

Received on Monday, 25 August 2008 16:16:46 UTC