WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: When is use of scope, col and/or colgroup important for accessibility?

for

From: Benjamin Hawkes-Lewis
Date: Jul 30, 2012 7:20PM


On Wed, Jul 25, 2012 at 4:47 AM, Ryan E. Benson < <EMAIL REMOVED> > wrote:
> AT probably guesses what direction the scope goes these days because
> people didn't use scope often/correctly enough.

It's not necessarily a guess so much as following the semantics of the language.

Both HTML4 and HTML5 include algorithms for determining headers for a
cell in scope's absence.

http://www.w3.org/TR/html401/struct/tables.html#h-11.4.3

http://www.whatwg.org/specs/web-apps/current-work/multipage/tabular-data.html#header-and-data-cell-semantics

--
Benjamin Hawkes-Lewis