WebAIM - Web Accessibility In Mind

E-mail List Archives

Thread: scope - fluff or truly useful in the midterm? Opinions please!

for

Number of posts in this thread: 2 (In chronological order)

From: Nathalie Sequeira
Date: Sun, Jun 24 2012 1:55AM
Subject: scope - fluff or truly useful in the midterm? Opinions please!
No previous message | Next message →

Hello!

Currently the CALS table model, which is largely focussed on visual
presentation, is undergoing a revision in the docBook TC to include
markup for accessibility.
While it is clear that adding a "headers"-attribute for unambiguous
attribution of table header id's to data cells (as in HTML) will be very
useful in complex table markup, I am not so sure about "scope".

AFAIK, scope is not so useful for complex tables given its non-universal
support in UAs - and in simpler markup situations the W3C techniques
actually point to bare th - td structures ( see
http://www.w3.org/TR/WCAG20-TECHS/H63.html
<http://www.linkedin.com/redirect?url=http%3A%2F%2Fwww%2Ew3%2Eorg%2FTR%2FWCAG20-TECHS%2FH63%2EhtmlTECHS%2FH63%2Ehtml&;urlhash=L-PE&_t=tracking_anet>),
which would make "scope" redundant?

So, do you use scope? (or would you like to in a world of 100% UA support?)
Do you know of good examples for its use?

Thanks for your views on this!
Nathalie

P.S. sorry for any cross-postings, as I am asking this questions in
various places ;)

From: Bourne, Sarah (ITD)
Date: Mon, Jun 25 2012 11:49AM
Subject: Re: scope - fluff or truly useful in the midterm? Opinions please!
← Previous message | No next message

Nathalie,

Scope is great for simple (data) tables, where there is no more than level of column headers and/or row headers. For instance, a simple table could have a single row of column headers with a column scope, or it could also have a single column of row header with a row scope.

As soon as you add another level of headers, the headers/ID method is the only one that works consistently. These more complex tables could, for instance, have a row of headers such as years, that span the columns in the next row of months in each year.

My recommendation to web authors is to convert complex tables into simple tables whenever possible. That may mean making a series of separate tables, or, in my example above, adding the year to the month header. They can then use the easier scope method. In almost all cases, this ends up making the tables easier to read and comprehend for everybody.

sb

Sarah E. Bourne
Director of Assistive Technology &
Mass.Gov Chief Technology Strategist
Information Technology Division
Commonwealth of Massachusetts
1 Ashburton Pl. rm 1601 Boston MA 02108
617-626-4502
= EMAIL ADDRESS REMOVED =
http://www.mass.gov/itd