role property

String? get role

The role read-only property of the ElementInternals interface returns the WAI-ARIA role for the element. For example, a checkbox might have role="checkbox".

Implementation

external String? get role;
set role (String? value)

Implementation

external set role(String? value);