WebAIM - Web Accessibility In Mind

E-mail List Archives

RE: Header tag

for

From: John Foliot - bytown internet
Date: May 1, 2003 8:13AM


Simon,

IMHO, you are partially right but mostly wrong here.

Yes, a structure of document headings can be interpreted as a list (similar
to what I originally illustrated)... think Table of Contents. But then, as
you proceed through the "book" you are presented with chapters <h1> which
may have subheadings <h2> and even tertiary headings <h3> under some of the
sub headings <h2> within any given chapter. But then, boom, you are into
the next chapter <h1>, and a similar (or different) semantic structure takes
place for that chapter. Chapters, when presented in a Table of Contents,
may be seen as a list, but when they are then presented as "the work", are
they still list items, or do they take on a different persona, a different
semantic "occupation"?

Lists, are intended to be brief, point form style information. It doesn't
have to be just a couple of words, it can be a paragraph or two, but
generally they are short, complete thoughts; and multiple ones at that,
ordered out in either a random order (<UL>) or chronological order (<OL>),
or occasionally as a "Question and Answer, Call and Response" style listing
(<DL>)

Heading tags on the other hand can contain 10 - 20 or more paragraphs before
the next logical header appears, and it can either be a subset of the
current idea (<h3> following an <h2>), equal to the previous idea (<h2>
followed by another <h2>), or followed by a whole new concept (transition
back to <h1> for example). Each of these functions offer semantic
information beyond the fact that they are groupings of ideas, which
unfortunately is all that list mark-up can do.

Simon, "information" within a web-site can assume different roles, depending
on how and when it's being conveyed. I invite you to visit
www.dougthompson.ca On this site, each week the Councillor writes a weekly
newsletter to keep his local constituents informed of what's going on.
Pretty basic stuff. On the main page, there is a list of the three most
recent articles, actually coded as a definition list, with the "headline"
(<dt>) and then the first paragraph(<dl>) of that week's column. In the
context of what is being presented here, it *is* a list of the last three
columns. "Clicking" onto the headline however takes you to the week in
question, and there, while the "text" or "information" remains the same, the
semantic structure of that document and it's contents has changed; there are
now a series of <h3> headlines grouped under two larger <h2> headings.
Perfectly logical and, semantically correct... these aren't really list
items now are they?

Now for an added bonus... while I always extol working towards software
agnostic development, the most common screen reader in the marketplace
(JAWs) takes advantage of the <h> tags whenever a page is loaded. When a
non-sited user loads a web page into their browser, JAWs tells them 3 things
before even starting to read the page: The <title> of the document, how
many links there are on the page, and how many headers there are. Should a
document load up with numerous headers, the JAWs user has the ability to
bring up a list of all of the Headers in the document, and effectively
"scan" them to see if the information they are seeking is present, (perhaps
as a subheading in Chapter 3?). Should the information be present (or
appear close enough) the Jaws user can select that header, and the software
treats the <h> tag almost like a named anchor, taking the "reading focus" to
that point in the document, allowing them to skip over all the other stuff.
Lists alone do not provide that functionality.

And so fianlly, back to the original question. If a validation tool fails a
listing as I originaly illustrated, the tool is flawed:

> <h1>Main Title</h1>
>
> <h2>Section 1 - Here</h2>
> <h3>This</h3>
> <h3>That</h3>
> <h3>The Other</h3>
>
> <h2>Section 2 - There</h2>
> <h3>This</h3>
> <h3>That</h3>
> <h3>The Other</h3>
> <h4>An Alternative Other</h4>
>
> <h2>Section 3 - Anywhere</h2>
> <h3>This</h3>
> <h3>That</h3>
> <h3>The Other</h3>



JF

*********************


> -----Original Message-----
> From: Simon Jessey [mailto: <EMAIL REMOVED> ]
> Sent: Wednesday, April 30, 2003 9:12 PM
> To: <EMAIL REMOVED>
> Subject: Re: Header tag
>
>
> ----- Original Message -----
> From: "Lori K. Brown" < <EMAIL REMOVED> >
> Subject: Re: Header tag
>
>
> > My assumption, reading J. Foliot's lucid example, is that there
> is STUFF,
> > that is to say, paragraphs and things, following each of the
> headings. So,
> > no, Simon, it's not a list.
>
> I think perhaps you misunderstand what I meant by a list. To see
> an example
> of how list markup can be used, see my weblog (in my signature).
> Each entry
> is a list item, and each item can have headings, paragraphs,
> tables, images
> and other elements. Using list markup creates a logical, hierachical
> structure (with semantic richness) for something that has many
> sections and
> subsections. Such an approach is widely used by forward-thinking web
> designers because of its good structure, accessibility and easy-to-style
> nature.
>
> If you think about it, a collection of 'sections', which in turn may have
> collections of sub-sections, are nothing more than nested ordered or
> unordered lists. Since list markup can contain pretty much anything, it
> makes sense to use it.
>
> In cases where such an approach cannot work, my _recommendation_ is to try
> and break things up into shorter documents, to _avoid_ messing with the
> structured nature of headings. I have created countless pages and I have
> thus far not found the need to break that heading structure in
> the way this
> thread has described.
>
>
> << Simon, you are bending over backwards to defend an illogical and
> indefensible interpretation of the standards. Separate pages for
> each? That
> is simply bananas. If they were trying to make me roll my eyes and give up
> on validation, this goes a long way toward success. Any architecture that
> requires us to break things up into arbitrary tiny pieces is just crazy
> talk. >>
>
> It is unfortunate that you have chosen to interpret my suggestions in this
> way. I assure you, my intention was merely to contribute to an interesting
> discussion, and to give my thoughts on the perceived fault in the Bobby
> tool. I am a regular user of Bobby because I like to do my best
> to ensure my
> web pages are as accessible as possible. I consider Bobby 'approval' to be
> as necessary as HTML validation, so it is important to me that the client
> works correctly:-
>
> http://bobby.watchfire.com/bobby/bobbyServlet?URL=http%3A%2F%2Fjes
sey.net%2Fblog%2F&output=Submit&gl=sec508&test

Simon Jessey

w: http://jessey.net/blog/
e: <EMAIL REMOVED>


----
To subscribe, unsubscribe, or view list archives,
visit http://www.webaim.org/discussion/





----
To subscribe, unsubscribe, or view list archives,
visit http://www.webaim.org/discussion/