W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > April to June 2005

Re: About tests 37-41 (headers)

From: Vicente Luque Centeno <vlc@it.uc3m.es>
Date: Thu, 16 Jun 2005 17:44:13 +0200 (CEST)
To: Chris Ridpath <chris.ridpath@utoronto.ca>
Cc: w3c-wai-gl@w3.org
Message-ID: <Pine.LNX.4.61.0506161735010.29222@violin.it.uc3m.es>

All these examples also work with my rules :-)

On Wed, 15 Jun 2005, Chris Ridpath wrote:

> These tests are designed to detect when header levels are skipped in a 
> downward sequence. For example:
> h1 followed by an h2 is OK
> h1 followed by an h3 is bad
>
> Another example:
> h3 followed by an h4 is OK
> h3 followed by an h5 is bad
>
> Header levels can be skipped in an upward sequence. For example:
> h4 followed by an h2 is OK
>

> On Wed, 15 Jun 2005, Vicente Luque Centeno wrote:
>> Those h2 having no preceding h1 are an error:
>> 
> The group does not have a test for whether the first header in the document 
> must be an h1.

Neither of my expressions say that explicitly. However, by proper 
deduction and combination of my rules, you will implicitly obtain that 
there is no other possibility. So, yes, the first header in the document
must be an h1 (or there should be no header at all) if tests 37-41 should 
be followed. There is no explicit rule for that, but it is derived from 
tests 37-41.

> There are no tests that check for multiple h1s in the same document.

That's why I did not include a rule saying:

count(//h1) <= 1

Cheers.

Vicente Luque Centeno
Dep. Ingeniería Telemática
Universidad Carlos III de Madrid
http://www.it.uc3m.es/vlc
Received on Thursday, 16 June 2005 15:44:19 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 23:39:37 UTC