goog.dom.a11y
Namespacegoog.dom.a11y.Announcer
ClassClass that allows messages to be spoken by assistive technologies that the user may have active. … more
goog.dom.a11y.LivePriority
EnumEnumeration of ARIA state values for live regions. See http://www.w3.org/TR/wai-aria/states_and_properties#aria-live for more information. … more
goog.dom.a11y.Role
EnumEnumeration of ARIA roles. … more
goog.dom.a11y.State
EnumEnumeration of ARIA states and properties. … more
.getActiveDescendant(element)
Gets the activedescendant of the given element.
element
{Element
}
Element
}
.getRole(element)
Gets role of an element.
element
{Element
}
string
}
.getState(element, stateName)
Gets value of specified state or property.
element
{Element
}
stateName
{string
}
string
}
.setActiveDescendant(element, activeElement)
Sets the activedescendant value for an element.
element
{Element
}
activeElement
{Element
}
.setRole(element, roleName)
Sets the role of an element.
element
{Element
}
roleName
{string
}
.setState(element, state, value)
Sets the state or property of an element.
element
{Element
}
state
{string
}
value
{string
|boolean
|number
}