- From: <bugzilla@jessica.w3.org>
- Date: Fri, 27 Jun 2014 16:52:16 +0000
- To: public-html-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=26222
Bug ID: 26222
Summary: WAI ARIA Spec gives example of form field in a label,
HTML 5 says not allowed
Product: HTML.next
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P2
Component: default
Assignee: dave.null@w3.org
Reporter: david100@sympatico.ca
QA Contact: public-html-bugzilla@w3.org
CC: mike@w3.org, robin@w3.org
WAI ARIA Spec gives example of form field in a label,
http://www.w3.org/TR/wai-aria/roles#textalternativecomputation
under 2B
"Authors sometimes embed a control within the label of another widget, where
the user can adjust the embedded control's value. For example, consider a check
box label that contains a text input field: "Flash the screen [input] times".
If the user has entered "5" for the embedded text input, the complete label is
"Flash the screen 5 times". For such cases, ....
html5 says:
http://www.w3.org/html/wg/drafts/html/CR/forms.html#the-label-element
"Content model: Phrasing content, but with no descendant labelable elements
unless it is the element's labeled control, and no descendant label elements"
There appears to be a discrepancy between wai aria and html 5. Suggest
investigation into them. One should change...
Perhaps the wai aria doc can change it's text to...
"Authors sometimes embed a control within the label of another widget, where
the user can adjust the embedded control's value. <add>as an "willful
violation" of HTML."</add>
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Friday, 27 June 2014 16:52:17 UTC