dijit.hasWaiState
dojo.require("dijit");
defined in dijit/_base/wai.js
On Firefox 2 and below, we check for an attribute in namespace "http://www.w3.org/2005/07/aaa" with a name of the given state. On all other browsers, we check for an attribute called "aria-"+state.
Usage
function (elem, /*String*/ state) (view source)
parameter | type | description |
---|---|---|
elem | ||
state | String |