[Bug 8680] New: Meaningful label in menu example

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

           Summary: Meaningful label in menu example
           Product: HTML WG
           Version: unspecified
          Platform: PC
               URL: http://www.w3.org/TR/html5/interactive-
                    elements.html#menus-intro
        OS/Version: Windows NT
            Status: NEW
          Keywords: a11y
          Severity: normal
          Priority: P2
         Component: HTML5 spec bugs
        AssignedTo: dave.null@w3.org
        ReportedBy: gez.lemon@gmail.com
         QAContact: public-html-bugzilla@w3.org
                CC: ian@hixie.ch, mike@w3.org, public-html@w3.org, public-
                    html-a11y@w3.org


The menu example has a label element with "Go to", a label attribute of "Go",
and the first option element contains, "Select site". The label attribute seems
redundant. The label element doesn't have meaningful text, and the option
element contains an item that would be more suitable as a label.

Maybe something like this could work?

<select>
<label>Choose a value</label>
<option>...</option>
...
</select>

The label would render as the displayed text of the select, and also provide
its accessible name, but would not be selectable itself.


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

Received on Friday, 8 January 2010 10:23:14 UTC