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 14906 - consider to add event "dragActivate" to the spec
Summary: consider to add event "dragActivate" to the spec
Status: CLOSED LATER
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: All All
: P2 enhancement
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords: a11y, a11ytf, a11y_drag-drop
Depends on:
Blocks:
 
Reported: 2011-11-22 15:55 UTC by Giorgio
Modified: 2013-01-16 14:19 UTC (History)
6 users (show)

See Also:


Attachments

Description Giorgio 2011-11-22 15:55:08 UTC
hello,

when people drag something over a button
they expected to see the button clicking itself automatically after some amount of time.

for example in a tab panels view, when I want to drag something from one tab panel, to another one, I will dragover the tab-button to get it activated as a click simulation

so:

tabButtons[x].addEventListener("click", function(){ p.switchTo(x); }, true);
tabButtons[x].addEventListener("dragactivate", function(){ p.switchTo(x); }, true);

this can be implementable in the user space but would be convenient to have it as a default drag operation of the browser.

bye!
Comment 1 Everett Zufelt 2011-11-23 08:17:10 UTC
Marking with a11y and a11y_drag-drop keywords for tracking.
Comment 2 Everett Zufelt 2011-11-29 16:12:30 UTC
Tagging for tracking by the accessibility task force.
Comment 3 Ian 'Hixie' Hickson 2011-12-07 21:14:53 UTC
I don't understand the request. Can you elaborate?
Comment 4 Giorgio 2011-12-07 21:31:05 UTC
i want to drag any text into the textfield, without clicking explictly the "aaa" summary

in windows os (on other os its the same, i bet) if i drag data over a button and hold the drag for some amount of time, the click event is executed implicitly (and i never released the left mouse button)

<details>
 <summary>aaa</summary>
 <input type=text>
</details>

you do this every time in your browser when you want to drag drop something from tab A to tab B, of the same browser window

hope to be clear now, my english is not good :(
Comment 5 Ian 'Hixie' Hickson 2011-12-09 22:09:22 UTC
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.html

Status: Accepted
Change Description: no spec change
Rationale:

Oh, I see.

You can do that today. Just put an ondragenter="" handler on the <summary>:

   <details>
    <summary ondragenter="parentNode.open = true">...</summary>
    <input>
   </details>
Comment 6 Michael Cooper 2013-01-16 14:18:59 UTC
HTML A11Y TF has said we don't need to track drag and drop bugs because they were filed before an overhaul of that part of the spec, but will review that part of the spec again.