blockly > utils > aria > removeRole
utils.aria.removeRole() function
Removes the ARIA role from an element.
Similar to Closure's goog.a11y.aria.removeRole
Signature:
export declare function removeRole(element: Element): void;
Parameters
Parameter | Type | Description |
|---|---|---|
element | Element | DOM element to remove the role from. |
Returns:
void