W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > April to June 2005

Re: [Techs] Kurzweil 3000 and WYNN zebra strips

From: Bailey, Bruce <Bruce.Bailey@ed.gov>
Date: Thu, 28 Apr 2005 08:13:49 -0400
Message-ID: <CCDBDCBFA650F74AA88830D4BACDBAB5076DE1EB@wdcrobe2m02.ed.gov>
To: "Joe Clark" <joeclark@joeclark.org>
Cc: "John M Slatin" <john_slatin@austin.utexas.edu>, "W3C WAI Techniques Working Group" <w3c-wai-gl@w3.org>
> And that's important how?

The technique helps the readability of long data tables for everyone.  In print, we have ledgers and lined computer paper.  Alternating the very high contrast is just a variation on a theme.

> JavaScript and/or CSS can do that.

Can you suggest the selector?  I have used <tr class="odd"> and <tr class="even"> but this seemed like too much work to get the effect.  Should there not be a way for an element to figure this out for itself?  (I have added the class to every row when generating the data table programatically, but still this seems very inelegant, although I was pleased with the end results.)  Maybe CSS needs a pseudo-element like first letter and line for this?  How would an end-user achieve this with a custom override style sheet?

> If you just want to highlight a row, 
> tr:hover will do it in non-braindead browsers.

I like that!
Received on Thursday, 28 April 2005 12:14:07 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 21:07:39 UTC