![]()
Asserts that the element has a role set if it's not an HTML element whose
semantics is well supported by most screen readers.
Only to be used internally by the ARIA library in goog.a11y.aria.*.
|
code » | ||||
Returns the activedescendant element for the input element by
using the activedescendant ARIA property of the given element.
|
code » | ||||
Adds the 'aria-' prefix to ariaName.
|
code » | ||||
Gets the label of the given element.
|
code » | ||||
![]()
Gets role of an element.
Arguments:
Returns: !goog.a11y.aria.Role
ARIA Role name.
|
code » | ||||
Gets value of specified state or property.
|
code » | ||||
Gets the boolean value of an ARIA state/property.
|
code » | ||||
Gets the number value of an ARIA state/property.
|
code » | ||||
Gets the string value of an ARIA state/property.
|
code » | ||||
Gets array of strings value of the specified state or
property for the element.
Only to be used internally by the ARIA library in goog.a11y.aria.*.
|
code » | ||||
![]()
Removes role of an element.
Arguments:
|
code » | ||||
![]()
Remove the state or property for the element.
Arguments:
|
code » | ||||
![]()
Sets the activedescendant ARIA property value for an element.
If the activeElement is not null, it should have an id set.
|
code » | ||||
![]()
Sets the label of the given element.
|
code » | ||||
![]()
Sets the role of an element. If the roleName is
empty string or null, the role for the element is removed.
We encourage clients to call the goog.a11y.aria.removeRole
method instead of setting null and empty string values.
Special handling for this case is added to ensure
backword compatibility with existing code.
|
code » | ||||
![]()
Sets the state or property of an element.
Arguments:
|
code » | ||||
Splits the input stringValue on whitespace.
|
code » |