W3C home > Mailing lists > Public > www-validator@w3.org > July 2015

Re: issue with validator flagging something the w3 site uses as an example

From: Steve Faulkner <faulkner.steve@gmail.com>
Date: Wed, 22 Jul 2015 13:56:42 +0100
Message-ID: <CA+ri+Vnmu8yA53Eg4-Noi8wfwVCmHtzvkVnRKsCkbbrAR7Robw@mail.gmail.com>
To: Jacques Mattheij <jacques@mattheij.com>
Cc: "www-validator@w3.org" <www-validator@w3.org>
Hi Jacques,
>http://www.w3.org/TR/2007/WD-xhtml-role-20071004/

the document you cite is a working draft from 2007. It has no standing, it
also predates the formulation of conformance rules for use of ARIA in HTML.
<http://www.w3.org/TR/2007/WD-xhtml-role-20071004/>
The HTML5 recommendation (Oct 2014) requirement for ul/ol elements

If specified, role must be one of the following: directory, group, list,
> listbox, menu, menubar, radiogroup, tablist, toolbar, tree or presentation
>

http://www.w3.org/TR/html5/dom.html#sec-implicit-aria-semantics

>
Since HTML5 was published, the rules for use of ARIA in HTML have been
split out of the HTML spec. The latest version of the requirements can be
found here:
http://www.w3.org/TR/html-aria/

If you find any further errors/warnings about ARIA use on HTML elements,
which you think are questionable, check the ARIA in HTML specification as
this is what the W3C conformance checker implements.


--

Regards

SteveF
Current Standards Work @W3C
<http://www.paciellogroup.com/blog/2015/03/current-standards-work-at-w3c/>

On 22 July 2015 at 11:56, Jacques Mattheij <jacques@mattheij.com> wrote:

>  Hello there,
>
> When I run http://jacquesmattheij.com/ through your verifier I get this
> error:
>
> *Error*: Bad value navigation for attribute role on element ul
> <http://www.w3.org/html/wg/drafts/html/master/single-page.html#the-ul-element>
> .
>
> But when I check how that's supposed to be done on the w3 site
>
> http://www.w3.org/TR/2007/WD-xhtml-role-20071004/
>
> That is explicitly used as an example:
>
> <ul role="navigation wai:sitemap">
>     <li href="downloads">Downloads</li>
>     <li href="docs">Documentation</li>
>     <li href="news">News</li>
> </ul>
>
> It states that sample is only 'informative', but still if that's not good
> use then I would expect them to use another example. Please let me know
> which of the two (verifier or standards document) is in error.
>
> best regards,
>
>  Jacques Mattheij
>
>
>
>
Received on Wednesday, 22 July 2015 12:57:51 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:13 UTC