W3C home > Mailing lists > Public > public-html@w3.org > December 2015

Headers Are Confusing in HTML5

From: Schnabel, Stefan <stefan.schnabel@sap.com>
Date: Mon, 7 Dec 2015 11:34:54 +0000
To: "faulkner.steve@gmail.com" <faulkner.steve@gmail.com>
CC: "w3.org@prlbr.com" <w3.org@prlbr.com>, "public-html@w3.org" <public-html@w3.org>
Message-ID: <cae6d8e0fcf54a9ba8362e5a71602999@DEWDFE13DE03.global.corp.sap>
Hi Steve,

I see that

  <header role=“group“ …

is allowed now.

Isn‘t a toolbar also a kind of a grouping element? Hence, shouldn’t

  <header role=“toolbar“ …
  <footer role=“toolbar“ …

be allowed also?

Best Regards

From: Steve Faulkner [mailto:faulkner.steve@gmail.com]
Sent: Mittwoch, 2. Dezember 2015 10:48
To: Schnabel, Stefan <stefan.schnabel@sap.com<mailto:stefan.schnabel@sap.com>>
Cc: Martin Janecke <w3.org@prlbr.com<mailto:w3.org@prlbr.com>>; HTMLWG WG <public-html@w3.org<mailto:public-html@w3.org>>
Subject: Re: Headers Are Confusing in HTML5

On 2 December 2015 at 08:25, Schnabel, Stefan <stefan.schnabel@sap.com<mailto:stefan.schnabel@sap.com>> wrote:
Is not explicitly defined as "forbidden" in https://specs.webplatform.org/html-aria/webspecs/master/

but validator throws an error doing so.

There is some room for interpretation, unfortunately.

We all currently suffer from the impossibility to provide multiple roles for an HTML element and
forcing the developers to use extra tags like

<header><span role="toolbar" ..

Hi Stefan,
this is the latest draft of the spec http://w3c.github.io/html-aria/

Use of roles other than those stated are forbidden.
If anyone can provide a good reason to relax/constrain use of ARIA on HTML elements feel free to file a bug https://github.com/w3c/html-aria/issues and can them be discussed and considered. In general the rules tyr to minimise the overriding of default implicit semantics of native HTML elements, instead encouraging the use of roles on elements that don't convey semantics in the first place.
refer to the informative rules of ARIA




Current Standards Work @W3C<http://www.paciellogroup.com/blog/2015/03/current-standards-work-at-w3c/>
Received on Monday, 7 December 2015 11:35:28 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:46:17 UTC