Headers Are Confusing in HTML5

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
Stefan

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
http://w3c.github.io/aria-in-html/#rule1

http://w3c.github.io/aria-in-html/#rule2


--

Regards

SteveF
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