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 29402 - Placeholder text and wrapped labels
Summary: Placeholder text and wrapped labels
Status: RESOLVED INVALID
Alias: None
Product: ARIA
Classification: Unclassified
Component: HTML AAM (show other bugs)
Version: Future
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: steve faulkner
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-29 01:06 UTC by Alice Boxhall
Modified: 2018-05-03 21:19 UTC (History)
2 users (show)

See Also:


Attachments

Description Alice Boxhall 2016-01-29 01:06:48 UTC
The spec is somewhat ambiguous as to what should happen in this case:

<label>label-wrapping-text
    <input id="foo" type="text" title="text-title" placeholder="text-placeholder">
</label>

For #foo, common sense suggests that the accessible name should be "label-wrapping-text" and the description/help should be "text-placeholder". However, implementing a naive, literal reading of the API results in the accessible name being "label-wrapping-text text-placeholder" and the description being "text-placeholder".

There's no specific guidance about computing text of descendants of a wrapped label. We can make a guess, but this case should probably be addressed in the 
HTML Accessibility API Mappings doc.
Comment 1 James Nurthen 2018-05-03 21:19:49 UTC
HTML AAM is no longer an ARIA Deliverable. If you wish to pursue this issue please file at https://github.com/w3c/html-aam/issues