Interface TabRole

All Superinterfaces:
Role, SectionheadRole, StructureRole, WidgetRole
All Known Implementing Classes:
TabRoleImpl

public interface TabRole extends SectionheadRole, WidgetRole
A type that represents the tab role in the ARIA specification.
See Also:
  • Method Details

    • getAriaSelectedState

      String getAriaSelectedState(Element element)
      Returns the value of the aria-selected attribute for the element or "" if no such attribute is present.
    • removeAriaSelectedState

      void removeAriaSelectedState(Element element)
      Removes the aria-selected attribute from the element.
    • setAriaSelectedState

      void setAriaSelectedState(Element element, SelectedValue value)
      Sets the aria-selected attribute for the element to the given value.