W3C home > Mailing lists > Public > public-html-a11y@w3.org > October 2010

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

From: <bugzilla@jessica.w3.org>
Date: Fri, 08 Oct 2010 00:59:17 +0000
To: public-html-a11y@w3.org
Message-Id: <E1P41Ir-0002zT-NN@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10712

--- Comment #8 from Tab Atkins Jr. <jackalmage@gmail.com> 2010-10-08 00:59:16 UTC ---
(In reply to comment #7)
> How would the attribute's value distinguish between text types and file types?

Why do you need to do so?


Unrelated: Perhaps it would be nice to auto-cancel dragenter and dragover
events, or rather just auto-prevent the default action for them (which is to
ignore the element and keep dragging), since @dropzone already expresses that
you want files of the given type (the only drag item-specific info you get
during those events).  However, you'd still want some ability to ignore a drag,
as you may base the acceptance on other, global information (for example, if
the element is supposed to be "disabled").  

I'm not sure how you would do this, though - it seems like right now there are
only two possibilities - either the event does its default action, which means
ignoring the dropzone, or the event is cancelled, which means the dropzone is
ready to accept the drop.  There's no way to manually trigger the default
action, so you can't just change what the default action is, or auto-cancel it.
 So, shrug.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Friday, 8 October 2010 00:59:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 04:42:22 GMT