accessibleRole()
Sets the WAI-ARIA role for accessibility.
accessibleRole(value: BindingOrValue<string | undefined>): this;
Parameters
- value — The role name (e.g. “button”, “navigation”).
Return value
The builder instance for chaining.
Related
class ElementBuilder abstractstatic
An abstract base class for UI element builders.accessibleRole
The WAI-ARIA role for this element, if applicable.
