Functiondijit.setWaiState

dojo.require("dijit");
defined in dijit/_base/wai.js

On Firefox 2 and below, we set an attribute in namespace "http://www.w3.org/2005/07/aaa" with a name of the given state. On all other browsers, we set an attribute called "aria-"+state.

Usage

function (elem, /*String*/ state, /*String*/ value) (view source)
parametertypedescription
elem  
stateString 
valueString