role

open external var role: AriaRole?(source)

The role property of the Element interface returns the explicitly set WAI-ARIA role for the element.

MDN Reference