Warning: Use of undefined constant Symbol - assumed 'Symbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: Use of undefined constant JavaScriptSymbol - assumed 'JavaScriptSymbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215

dijit/_base/wai.js

  • Provides:

    • dijit._base.wai
  • dijit.hasWaiRole

    • parameters:
      • elem: (typeof Element)
      • role: (typeof String)
    • summary
      Determines if an element has a particular role.
    • return_summary
      True if elem has the specific role attribute and false if not.
      For backwards compatibility if role parameter not provided,
      returns true if has a role
    • type
      Function
  • dijit.getWaiRole

    • parameters:
      • elem: (typeof Element)
    • summary
      Gets the role for an element (which should be a wai role).
    • return_summary
      The role of elem or an empty string if elem
      does not have a role.
    • type
      Function
  • dijit.setWaiRole

    • parameters:
      • elem: (typeof Element)
      • role: (typeof String)
    • summary
      Sets the role on an element.
    • description
      Replace existing role attribute with new role.
    • type
      Function
  • dijit.removeWaiRole

    • parameters:
      • elem: (typeof Element)
      • role: (typeof String)
    • summary
      Removes the specified role from an element.
      Removes role attribute if no specific role provided (for backwards compat.)
    • type
      Function
  • dijit.hasWaiState

    • parameters:
      • elem: (typeof Element)
      • state: (typeof String)
    • summary
      Determines if an element has a given state.
    • description
      Checks for an attribute called "aria-"+state.
    • return_summary
      true if elem has a value for the given state and
      false if it does not.
    • type
      Function
  • dijit.getWaiState

    • parameters:
      • elem: (typeof Element)
      • state: (typeof String)
    • summary
      Gets the value of a state on an element.
    • description
      Checks for an attribute called "aria-"+state.
    • return_summary
      The value of the requested state on elem
      or an empty string if elem has no value for state.
    • type
      Function
  • dijit.setWaiState

    • parameters:
      • elem: (typeof Element)
      • state: (typeof String)
      • value: (typeof String)
    • summary
      Sets a state on an element.
    • description
      Sets an attribute called "aria-"+state.
    • type
      Function
  • dijit.removeWaiState

    • parameters:
      • elem: (typeof Element)
      • state: (typeof String)
    • summary
      Removes a state from an element.
    • description
      Sets an attribute called "aria-"+state.
    • type
      Function
  • dijit.wai

    • type
      Object
  • dijit.wai.onload

    • summary
      Detects if we are in high-contrast mode or not
    • type
      Function
  • dijit._base.wai

    • type
      Object
  • dijit._base

    • type
      Object
  • dijit

    • type
      Object