FLUID-2376: Update name/values of "aria-grabbed" state as per ARIA latest spec.

Metadata

Source
FLUID-2376
Type
Improvement
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Joseph Scheuhammer
Reporter
Joseph Scheuhammer
Created
2009-03-17T14:56:45.000-0400
Updated
2009-03-24T18:07:09.000-0400
Versions
N/A
Fixed Versions
  1. 1.0
Component
  1. Reorderer

Description

The name and value space of the aria-grabbed state (formerly "aria-grab") changed just weeks before the last call draft of the ARIA spec. The rationale was consistency in form with other boolean properties (e.g., aria-checked).

In brief:

  • the name is now "aria-grabbed".
  • the presence of "aria-grabbed" marks the element as "draggable".
    • if aria-grabbed="false", the element is not in the set of objects marked for dragging.
    • if aria-grabbed="true", the element is in the set of grabbed objects marked for dragging.
    • if aria-grabbed="undefined", the element is not draggable and can't be in the set. The same is true if the aria-grabbed attribute is missing entirely.

For the details, see: http://www.w3.org/TR/wai-aria/#aria-grabbed

Comments

  • Joseph Scheuhammer commented 2009-03-17T15:41:04.000-0400

    Switching "Component" from the "Image Reorderer" to "Reorderer" as this applies to any use that involves drag-and-drop (not just images).

  • Justin Obara commented 2009-03-20T15:55:07.000-0400

    Bug Parade 1.0 release

  • Anastasia Cheetham commented 2009-03-24T13:50:00.000-0400

    The changes made for this fix are consistent with the description. But:
    In the test file, the text strings describing the expected test results were not updated to reflect the new naming and values. This is relatively minor, but if tests actually fail, the incorrect text might make debugging the failing tests a bit confusing.

  • Anastasia Cheetham commented 2009-03-24T14:23:05.000-0400

    Ok, the test files have been updated. Looks great.

  • Justin Obara commented 2009-03-24T18:07:09.000-0400

    Verified fix using:

    FF3 (Mac OS 10.5)