There is, in the dnd API spec, no method of associating a textual label with @draggable
and @dropzone elements. This can obviously be done with aria-label, aria-labelledby, or <label for="idref">. Should this be part of the API spec? It
is essential for accessibility that drag and drop targets have a textual label associated in order to conform with WCAG 2.0.
I suggest that text be added to the API directing implementers how to provide accessible names for draggable and dropzone regions.
What do you mean by API? Do you mean the DOM interface?
What's wrong with using title="" here?
Sure, we can use title, let's make sure that the spec (somewhere relevant) states that @title * must * be used to provide accessible names to draggable and dropzone elements.
Why? What problem is this solving?
(In reply to comment #3)
> Why? What problem is this solving?
WCAG 2.0 SC 4.1.2 requires that the name for all interactive elements be programmatically determinable. I really don't care what you do in the spec, but pick one method that authors ought to use to specify the name for draggable and dropzon elements.
If this already clearly exists in the spec then please point that out.
This bug was cloned to create bug 17807 as part of operation convergence.
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If
you are satisfied with this response, please change the state of
this bug to CLOSED. If you have additional information and would
like the Editor to reconsider, please reopen this bug. If you would
like to escalate the issue to the full HTML Working Group, please
add the TrackerRequest keyword to this bug, and suggest title and
text for the Tracker Issue; or you may create a Tracker Issue
yourself, if you are able to do so. For more details, see this
Rationale: accepted WHATWG change