- From: Steve Faulkner <faulkner.steve@gmail.com>
- Date: Wed, 2 Dec 2015 09:40:56 +0000
- To: Martin Janecke <w3.org@prlbr.com>
- Cc: HTMLWG WG <public-html@w3.org>
- Message-ID: <CA+ri+Vm=pMM8e1nyu+6BQXYNVrEJDou7AqJ68mvbZPiv3OJQZA@mail.gmail.com>
-- Regards SteveF Current Standards Work @W3C <http://www.paciellogroup.com/blog/2015/03/current-standards-work-at-w3c/> On 1 December 2015 at 19:50, Martin Janecke <w3.org@prlbr.com> wrote: > On 01.12.15 19:33, Steve Faulkner wrote: > > you could also use: > > <header role="group"> > > > This would be a good solution for me. Does that mean that setting > role="group" overwrites the implied banner role? > yes > > Unfortunately I got an error (and a warning) when testing this with > https://validator.w3.org/: > > Info: The Content-Type was text/html. Using the HTML parser. > > Info: Using the schema for HTML with SVG 1.1, MathML 3.0, RDFa 1.1, and > ITS 2.0 support. > > Error: Bad value group for attribute role on element header. > From line 4, column 1; to line 4, column 21 > t</title>↩<header role="group">↩<h1>T > > Warning: Element header does not need a role attribute. > From line 4, column 1; to line 4, column 21 > t</title>↩<header role="group">↩<h1>T > > Is the validator wrong? > the validator implements the rules here http://w3c.github.io/html-aria/ I have updated the rule for header/footer in light of this discussion to allow 'group' http://w3c.github.io/html-aria/#header I have filed a bug on the validator: https://github.com/validator/validator/issues/185 > > Thanks > Martin >
Received on Wednesday, 2 December 2015 09:42:05 UTC