[Bug 10712] Drag and Drop: Add an attribute to identify drop targets

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

--- Comment #4 from Everett Zufelt <everett@zufelt.ca> 2010-09-28 14:17:07 UTC ---
(In reply to comment #1)
> Would this attribute's presence essentially change the dragover and dragenter
> events to always seem canceled?
> 
> It would be useful to have implementor feedback on this feature. Is this
> something implementors would be interested in supporting?

In my opinion the presence of this attribute should not cancel the events.  It
is not important where the events are being caught.  It is important to have a
mechanism by which user agents can innumerate sections of a document that are
intended as drop targets.

In order for drag and drop to be made accessible to keyboard only users it is
necessary to be able to present users with a list of regions of a document that
the author intends as drop targets.  It is not necessary for the drop targets
to process the events them selves, this can be performed further up the tree. 
However, without a mechanism to identify which elements are targets for
receiving a drop user agents will only be able to innumerate those elements
which have drop listeners, which may, in many cases, bear little resemblance to
the actual elements that are intended as targets for a drop.

@David

@droptarget="true"

Any element with its droptarget attribute set to true will be innumerated by a
user agent as a droppable region for purposes of making drag and drop
accessible to keyboard only users.

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

Received on Tuesday, 28 September 2010 14:17:11 UTC