Interface HeadingRole

All Superinterfaces:
Role, SectionheadRole, StructureRole
All Known Implementing Classes:
HeadingRoleImpl

public interface HeadingRole extends SectionheadRole
A type that represents the heading 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.
    • removeAriaLevelProperty

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

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