Interface WindowRole

All Superinterfaces:
Role
All Known Subinterfaces:
AlertdialogRole, DialogRole
All Known Implementing Classes:
AlertdialogRoleImpl, DialogRoleImpl

public interface WindowRole extends Role
A type that represents the window role in the ARIA specification.
See Also:
  • Method Details Link icon

    • getAriaExpandedState Link icon

      String getAriaExpandedState(Element element)
      Returns the value of the aria-expanded attribute for the element or "" if no such attribute is present.
    • removeAriaExpandedState Link icon

      void removeAriaExpandedState(Element element)
      Removes the aria-expanded attribute from the element.
    • setAriaExpandedState Link icon

      void setAriaExpandedState(Element element, ExpandedValue value)
      Sets the aria-expanded attribute for the element to the given value.