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

Steve Faulkner <[email protected]> Wed, 22 Jul 2015 13:56:42 +0100
Newsgroups gmane.org.w3c.validator
Message-ID <CA+ri+Vnmu8yA53Eg4-Noi8wfwVCmHtzvkVnRKsCkbbrAR7Robw@mail.gmail.com>
--e89a8fb1f54cc98c69051b764f93
Content-Type: text/plain; charset=UTF-8

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 <[email protected]> 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
>
>
>
>

--e89a8fb1f54cc98c69051b764f93
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div>Hi Jacques, <br></div>&gt;<a href=3D"http:/=
/www.w3.org/TR/2007/WD-xhtml-role-20071004/" target=3D"_blank">http://www.w=
3.org/TR/2007/WD-xhtml-role-20071004/</a><br><br>the document you cite is a=
 working draft from 2007. It has no standing, it also predates the formulat=
ion of conformance rules for use of ARIA in HTML.<br><a href=3D"http://www.=
w3.org/TR/2007/WD-xhtml-role-20071004/" target=3D"_blank"></a><br></div><di=
v>The HTML5 recommendation (Oct 2014) requirement for ul/ol elements<br><br=
><blockquote style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(20=
4,204,204);padding-left:1ex" class=3D"gmail_quote">If specified, role must =
be one of the following: <code title=3D"">directory</code>, <code title=3D"=
">group</code>, <code title=3D"">list</code>, <code title=3D"">listbox</cod=
e>, <code title=3D"">menu</code>, <code title=3D"">menubar</code>, <code ti=
tle=3D"">radiogroup</code>, <code title=3D"">tablist</code>, <code title=3D=
"">toolbar</code>, <code title=3D"">tree</code>
     or <code title=3D"">presentation</code><br><code title=3D""></code></b=
lockquote><code title=3D""><br><a href=3D"http://www.w3.org/TR/html5/dom.ht=
ml#sec-implicit-aria-semantics">http://www.w3.org/TR/html5/dom.html#sec-imp=
licit-aria-semantics</a></code><br><code title=3D""></code><blockquote styl=
e=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddin=
g-left:1ex" class=3D"gmail_quote"><code title=3D""></code></blockquote><br>=
</div><div>Since HTML5 was published, the rules for use of ARIA in HTML hav=
e been split out of the HTML spec. The latest version of the requirements c=
an be found here:<br><a href=3D"http://www.w3.org/TR/html-aria/">http://www=
.w3.org/TR/html-aria/</a><br><br></div><div>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 c=
hecker implements.<br></div><br></div></div><div class=3D"gmail_extra"><br =
clear=3D"all"><div><div class=3D"gmail_signature"><div dir=3D"ltr"><div><di=
v dir=3D"ltr"><div><div>--<br><br>Regards<br><br>SteveF<br></div><a href=3D=
"http://www.paciellogroup.com/blog/2015/03/current-standards-work-at-w3c/" =
target=3D"_blank">Current Standards Work @W3C</a><br></div></div></div></di=
v></div></div>
<br><div class=3D"gmail_quote">On 22 July 2015 at 11:56, Jacques Mattheij <=
span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" target=3D"_bla=
nk">[email protected]</a>&gt;</span> wrote:<br><blockquote class=3D"gmai=
l_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left=
:1ex">
 =20

   =20
 =20
  <div bgcolor=3D"#FFFFFF" text=3D"#000000">
    Hello there,<br>
    <br>
    When I run <a href=3D"http://jacquesmattheij.com/" target=3D"_blank">ht=
tp://jacquesmattheij.com/</a> through your verifier I get
    this error:<br>
    <p><strong>Error</strong>: <span>Bad value <code>navigation</code>
        for attribute <code>role</code> on element <a href=3D"http://www.w3=
.org/html/wg/drafts/html/master/single-page.html#the-ul-element" target=3D"=
_blank"><code>ul</code></a>.</span></p>
    <br>
    But when I check how that&#39;s supposed to be done on the w3 site <br>
    <br>
    <a href=3D"http://www.w3.org/TR/2007/WD-xhtml-role-20071004/" target=3D=
"_blank">http://www.w3.org/TR/2007/WD-xhtml-role-20071004/</a><br>
    <br>
    That is explicitly used as an example:<br>
    <br>
    <pre>&lt;ul role=3D&quot;navigation wai:sitemap&quot;&gt;
    &lt;li href=3D&quot;downloads&quot;&gt;Downloads&lt;/li&gt;
    &lt;li href=3D&quot;docs&quot;&gt;Documentation&lt;/li&gt;
    &lt;li href=3D&quot;news&quot;&gt;News&lt;/li&gt;
&lt;/ul&gt;

It states that sample is only &#39;informative&#39;, but still if that&#39;=
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

</pre>
    <br>
  </div>

</blockquote></div><br></div>

--e89a8fb1f54cc98c69051b764f93--