W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2012

Re: [whatwg] Proposed addition to Drag and Drop API

From: Ryosuke Niwa <rniwa@webkit.org>
Date: Fri, 29 Jun 2012 16:21:20 -0700
Message-ID: <CABNRm61+d=O+OPRHtbETiFjTumjaac-Mfuo1UiR=-9AM3S0uaw@mail.gmail.com>
To: Alex Bain <alex@alexba.in>
Cc: whatwg@lists.whatwg.org
On Fri, Jun 29, 2012 at 4:12 PM, Alex Bain <alex@alexba.in> wrote:

> I've spent the past few days working with the Drag and Drop API and I'd
> like to propose an addition to the spec to aid developers and designers in
> creating accessible drag interfaces.
>
> **Use case:**
>
> I'm developing an app that allows users to drag pieces of user generated
> content (Posts) from one part of the app to another. A Post is represented
> as a DOM subtree with multiple components - a title, some images, text, and
> so forth. I wanted to create an interaction where the user could click and
> drag anywhere on the Post (large click target for accessibility purposes),
> see a subset of the Post as a drag indicator (the title, for example), and
> then be able to drop that elsewhere in the app.
>

You can't use draggable content attribute?
http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#the-draggable-attribute

- Ryosuke
Received on Friday, 29 June 2012 23:22:09 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:43 UTC