This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 26933 - Adding role="region" to list of allowable roles on an "article", "aside" and "address" elements
Summary: Adding role="region" to list of allowable roles on an "article", "aside" and ...
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on: 26931
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-29 21:33 UTC by steve faulkner
Modified: 2015-06-17 07:15 UTC (History)
5 users (show)

See Also:


Attachments

Description steve faulkner 2014-09-29 21:33:03 UTC
+++ This bug was initially created as a clone of Bug #26931 +++

Article, aside and address elements can be used in many different ways on web pages.   By allowing these elements to have a role="region" they can be used to identify sub-sections within top level landmarks like role=main.

For example:

<section role="main">
  <h1>My New Paper</h1>

  <article role="region" aria-labelledby="art1">
    <h2 id="art1">My First Article</h2>
    <p>para 1...</p>
    <p>para 2...</p>
  </article>

  <article role="region" aria-labelledby="art2">
    <h2 id="art2">My Second Article</h2>
    <p>para 3...</p>
    <p>para 4...</p>
  </article>

  <article role="region" aria-labelledby="art3">
    <h2 id="art3">My Third Article</h2>
    <p>para 5...</p>
    <p>para 6...</p>
  </article>

  <aside role="region" aria-label="Today's weather">
    <div> ... weather information ...</div>
  <aside>

</section>

<footer role="complementary">

  <address role="region" aria-label="My News Paper Contact information">

  </address>


</footer>
Comment 1 steve faulkner 2015-06-17 07:15:41 UTC
see http://www.w3.org/TR/html-aria/