Interface ListitemRole

All Superinterfaces:
Role, SectionRole, StructureRole
All Known Subinterfaces:
TreeitemRole
All Known Implementing Classes:
ListitemRoleImpl, TreeitemRoleImpl

public interface ListitemRole extends SectionRole
A type that represents the listitem role in the ARIA specification.
See Also:
  • Method Details

    • getAriaLevelProperty

      String getAriaLevelProperty(Element element)
      Returns the value of the aria-level attribute for the element or "" if no such attribute is present.
    • getAriaPosinsetProperty

      String getAriaPosinsetProperty(Element element)
      Returns the value of the aria-posinset attribute for the element or "" if no such attribute is present.
    • getAriaSetsizeProperty

      String getAriaSetsizeProperty(Element element)
      Returns the value of the aria-setsize attribute for the element or "" if no such attribute is present.
    • removeAriaLevelProperty

      void removeAriaLevelProperty(Element element)
      Removes the aria-level attribute from the element.
    • removeAriaPosinsetProperty

      void removeAriaPosinsetProperty(Element element)
      Removes the aria-posinset attribute from the element.
    • removeAriaSetsizeProperty

      void removeAriaSetsizeProperty(Element element)
      Removes the aria-setsize attribute from the element.
    • setAriaLevelProperty

      void setAriaLevelProperty(Element element, int value)
      Sets the aria-level attribute for the element to the given value.
    • setAriaPosinsetProperty

      void setAriaPosinsetProperty(Element element, int value)
      Sets the aria-posinset attribute for the element to the given value.
    • setAriaSetsizeProperty

      void setAriaSetsizeProperty(Element element, int value)
      Sets the aria-setsize attribute for the element to the given value.