[Bug 8000] ARIA roles added to the a element should be conforming in HTML5

http://www.w3.org/Bugs/Public/show_bug.cgi?id=8000

Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |xn--mlform-iua@xn--mlform-i
                   |                            |ua.no

--- Comment #13 from Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> 2011-01-15 00:28:20 UTC ---
The editor has provided HTML5 itself with 2 examples of anchor elements -
inside a <menu type="toolbar"> element - being used as buttons:

First example:: [1]
http://dev.w3.org/html5/spec/the-button-element.html#the-meter-element
Second exampe: [2]
http://dev.w3.org/html5/spec/interactive-elements.html#menus-intro

[1] First example:
      ]]
  <menu type="toolbar">
 <a href="?cmd=hsg" onclick="hideSuggestedGroups()">Hide suggested groups</a>
  </menu>
     [[

[2] Second example:
      ]]
For example, the following represents a toolbar with three menu buttons on it,
each of which has a dropdown menu with a series of options:

<menu type="toolbar">
 <li>
  <menu label="File">
   <button type="button" onclick="fnew()">New...</button>
   <button type="button" onclick="fopen()">Open...</button>
   <button type="button" onclick="fsave()">Save</button>
   <button type="button" onclick="fsaveas()">Save as...</button>
  </menu>
 </li>
 <li>
  <menu label="Edit">
   <button type="button" onclick="ecopy()">Copy</button>
   <button type="button" onclick="ecut()">Cut</button>
   <button type="button" onclick="epaste()">Paste</button>
  </menu>
 </li>
 <li>
  <menu label="Help">
   <li><a href="help.html">Help</a></li>
   <li><a href="about.html">About</a></li>
  </menu>
 </li>
</menu>
In a supporting user agent, this might look like this:

[img-fallback: A toolbar with three buttons, labeled 'File', 'Edit', and
'Help'; where if you select the 'Edit' button you get a drop-down menu with
three more options, 'Copy', 'Cut', and 'Paste'.]

In a legacy user agent, the above would look like a bulleted list with three
items, the first of which has four buttons, the second of which has three, and
the third of which has two nested bullet points with two items consisting of
links.
     [[

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Saturday, 15 January 2011 00:28:24 UTC