blockly > utils > aria

utils.aria namespace


Enumeration Description
Role ARIA role values. Copied from Closure's goog.a11y.aria.Role
State ARIA states and properties. Copied from Closure's goog.a11y.aria.State


Function Description
setRole(element, roleName)

Sets the role of an element.

Similar to Closure's goog.a11y.aria

setState(element, stateName, value) Sets the state or property of an element. Copied from Closure's goog.a11y.aria