<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>27339</bug_id>
          
          <creation_ts>2009-07-16 02:05:05 -0700</creation_ts>
          <short_desc>Missing keyboard support for Drag and Drop as defined in HTML 5 spec</short_desc>
          <delta_ts>2009-07-24 10:41:46 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>DOM</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac (Intel)</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>http://remysharp.com/demo/dnd-keyboard.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction, InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Remy Sharp">remy</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>remy</cc>
    
    <cc>webmaster</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>132205</commentid>
    <comment_count>0</comment_count>
    <who name="Remy Sharp">remy</who>
    <bug_when>2009-07-16 02:05:05 -0700</bug_when>
    <thetext>The HTML 5 spec says that keyboard copy and paste operations should run through the drag and drop event model:

http://www.whatwg.org/specs/web-apps/current-work/#copy-and-paste

I would expect that once on a draggable element (which I can tab to using tabIndex=&quot;0&quot;) when I copy, it should trigger the dragstart event, and then tabbing on to an element with the drop event listener, I should be able to paste to send across the dataTransfer object.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>132219</commentid>
    <comment_count>1</comment_count>
    <who name="Remy Sharp">remy</who>
    <bug_when>2009-07-16 03:20:54 -0700</bug_when>
    <thetext>Reproducible: Always

Steps to Reproduce:
1. Tab to the images (which have tabIndex=&quot;0&quot; set so they&apos;re focusable)
2. Copy from the keyboard
3. Nothing happens
Actual Results:  
Nothing - hense the lacking support.

Expected Results:  
When I copy the element, it should trigger the whole event model. 

In this specific case, it should trigger the dragstart event - which will log
in the #debug element that dragging has started (you can test this by dragging
via the mouse).

I would then tab to the drop target, and use the paste keyboard command, and
this will fire the drop event passing through the dataTransfer object in the
event.

Without keyboard support, the drag and drop is not accessible to users who rely
on the keyboard for navigation - even though the HTML 5 spec explains how it
should be supported.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>132515</commentid>
    <comment_count>2</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2009-07-17 01:10:33 -0700</bug_when>
    <thetext>&lt;rdar://problem/7068410&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>