WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: H1 to H4 titles sub titles....

for

From: Sailesh Panchang
Date: May 2, 2011 10:03AM


Skipping h-levels is indeed a serious problem for non-visual users The
WCAG techniques notes:
"In some technologies, headings are designed to convey logical
hierarchy. Skipping levels in the sequence of headings may create the
impression that the structure of the document has not been properly
thought through or that specific headings have been chosen for their
visual rendering rather than their meaning. Authors are encouraged to
nest headings hierarchically. When headings are nested hierarchically,
the most important information is given the highest
logical level, and subsections are given subsequent logical
levels.(i.e., h2 is a subsection of h1)."
(Note: The above is under H69 which should be merged with H42 because
they are essentially the same technique that serves different
purposes. I have petitioned the WCAG-WG to do this and will be glad if
others second this via public comments process ).

A screen reader user may pause on detecting skipped heading levels,
go back to check if he accidently missed a heading. Or may search for
text that possibly has not been marked up as a heading or has been
rendered as text in an image styled as a heading. A sighted user does
not have to go back to do this because he can see there is no
heading.
WCAG 1 checkpoint 3.5 (priority-2) explicitly required headings to be
used as per specs.
Now WCAG 2 SC 1.3.1 is a Level A SC. Headings tags are perhaps the
most significant markup to expose structure and hierarchy. So
headings should not only be used consistently from page to page but
within a section of content, levels should not be skipped.
And why would one want to skip a level ... unless the intent is to
use a heading tag for its visual styling effect?
Léonie says it is not a show stopper. But if it slows me down or
makes me unsure of structure requiring me to perform other navigation
sequences to ensure I have comprehended the structure correctly, I
think it is a serious accessibility issue. And if markup that enhances
accessibility, is browser and AT-supported is being used
haphazardly, then why should developers not be faulted for it?
A counter for the show stopper argument: Screen reader software
accommodates for simple data tables with row/column headings not
marked up as TH or form controls in some situations not associated
with visible text labels. Do these not violate WCAG 2 SC 1.3.1 then?
Sailesh Panchang
www.deque.com
On 5/2/11, Will Grignon < <EMAIL REMOVED> > wrote:
> I concur. Also, consistency from page to page is crucial - it makes all the
> difference in the world if a screen reader user can devise a navigation
> strategy at the first page and can use this strategy throughout the website
> because every page on that site uses the same formatting conventions.
>
> One note, however, I've encountered sites that seem to be separated into
> sections, so when one types "1" to find a heading level 1 (I use JAWS
> 12.5...), the screen reader will only look for and try to find a heading
> level 1 in that section and, if none are found, will report the same, even
> though there might be dozens of lines formatted as heading level 1 in other
> sections on the page.
>
>
>
>