This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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 document: http://dev.w3.org/html5/decision-policy/decision-policy-v2.html Status: Accepted Change Description: https://github.com/w3c/html/commit/1ac9c711fe61b0ef8513b04e8b7830dd7a0f5730 Rationale: accepted WHATWG change