role property
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;
Implementation
external set role(String? value);