W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > July to September 2008

RE: WCAG2 Conformance Questions

From: Ryan Jean <ryanj@disnetwork.org>
Date: Mon, 25 Aug 2008 12:14:28 -0400
To: "'David Woolley'" <forums@david-woolley.me.uk>
Cc: <w3c-wai-ig@w3.org>
Message-ID: <E1KXek9-00031I-41@bart.w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:14:28 GMT