Interface LinkRole

All Superinterfaces:
CommandRole, Role, WidgetRole
All Known Implementing Classes:
LinkRoleImpl

public interface LinkRole extends CommandRole
A type that represents the link role in the ARIA specification.
See Also:
  • Method Details

    • getAriaExpandedState

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

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

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