WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: WCAG 2.0 validation

for

From: Tim Harshbarger
Date: Dec 3, 2014 6:13AM


This is one of the reasons why using a tool that allows you to customize the rule set can be valuable.

While skipping heading levels isn't a violation, not skipping heading levels also conformant and is also strongly recommended by the WCAG specs. So, for your organization, you might want to call this a violation.

For me, it comes down to how close you want to get to that line between accessible and inaccessible. Do you want to be close to the line or well inside it?


-----Original Message-----
From: <EMAIL REMOVED> [mailto: <EMAIL REMOVED> ] On Behalf Of Birkir R. Gunnarsson
Sent: Tuesday, December 02, 2014 3:04 PM
To: WebAIM Discussion List
Subject: Re: [WebAIM] WCAG 2.0 validation

Angela

Is a missing heading a WCAG violation?
1.3.1 does not specifically say that skipping a heading level is a violation.
It recommends using appropriate heading levels in its examples and
non-normative text, and it specifies that if text is in place of a
heading and formatted visually as a heading that it should be a
heading, but I have never failed a webpage on 1.3.1 due to missing
heading levels.

In fact, I believe there are cases where skipping a heading level may
be appropriate, such as an author's note or dedication, or text
transcriber note.
Customarily this type of information is located before chapter 1 in a
book, but definitely are less important than the chapter titles.
Here we assume the book title is an h1 and chapter titles are h2s.

Of course that is not what you asked, there may be reasons such as
specific customer needs, that forbid missing heading levels, (NFB NVA
certification requires this).

So I would not get my hopes up for achecker (or any standard WCAG
checker) to downright call out a violation for this, though they may
provide warnings.
Also, you need to consier ARIA headings.
<span role="heading" aria-level="3">This is the equivalent of an h3
heading</span>
This is legitimate code (even if I always try to encourage developers
to just use a heading), and checkers need to consider this as a
possibility.
Cheers
-B


On 12/2/14, Angela French < <EMAIL REMOVED> > wrote:
> Should this validation checker find missing headings ?
>
> http://achecker.ca/checker/index.php
>
> For example:
>
> h1
> h2
> h4 (there was no h3)
> h2
>
>
>
>
> Angela French
> Internet Specialist
> State Board for Community and Technical Colleges
> 360-704-4316
> <EMAIL REMOVED> <mailto: <EMAIL REMOVED> >
> www.checkoutacollege.com<;http://www.checkoutacollege.com>;
> www.sbctc.edu<;http://www.sbctc.edu>;
>
> > > >


--
Work hard. Have fun. Make history.