issue with validator flagging something the w3 site uses as an example
Jacques Mattheij <[email protected]> Wed, 22 Jul 2015 12:56:30 +0200
| Newsgroups | gmane.org.w3c.validator |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--------------090705030801080006070305
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
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
--------------090705030801080006070305
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello there,<br>
<br>
When I run <a class="moz-txt-link-freetext" href="http://jacquesmattheij.com/">http://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="http://www.w3.org/html/wg/drafts/html/master/single-page.html#the-ul-element"><code>ul</code></a>.</span></p>
<br>
But when I check how that's supposed to be done on the w3 site <br>
<br>
<a class="moz-txt-link-freetext" href="http://www.w3.org/TR/2007/WD-xhtml-role-20071004/">http://www.w3.org/TR/2007/WD-xhtml-role-20071004/</a><br>
<br>
That is explicitly used as an example:<br>
<br>
<pre><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
</pre>
<br>
</body>
</html>
--------------090705030801080006070305--