FLUID-126: The Reorderer adds namespaced attributes to the DOM without declaring the namespace if necessary.

Metadata

Source
FLUID-126
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Colin Clark
Reporter
Colin Clark
Created
2007-11-26T16:24:53.000-0500
Updated
2008-03-11T18:57:26.000-0400
Versions
N/A
Fixed Versions
  1. 0.3
Component
  1. Reorderer

Description

The Reorderer inserts ARIA states and properties dynamically into the DOM, such as "grab" and "activedescendent." It prefixes those attributes with the "aaa:" namespace, which is a good thing, but never checks to see if aaa: has been defined properly. For markup that doesn't already include this namespace, the Reorderer should insert it dynamically. Here's an example of the offending code:

this._updateActiveDescendent = function() {
if (this.activeItem) {
this.domNode.setAttribute ("aaa:activedescendent", this.activeItem.id);
} else {
this.domNode.removeAttribute ("aaa:activedescendent");
}
}

Comments

  • Michelle D'Souza commented 2008-03-11T18:57:26.000-0400

    The Reorderer now uses jARIA for adding ARIA roles and states.