Interface CheckboxRole

All Superinterfaces:
InputRole, Role, WidgetRole
All Known Subinterfaces:
MenuitemcheckboxRole, MenuitemradioRole, RadioRole
All Known Implementing Classes:
CheckboxRoleImpl, MenuitemcheckboxRoleImpl, MenuitemradioRoleImpl, RadioRoleImpl

public interface CheckboxRole extends InputRole
A type that represents the checkbox role in the ARIA specification.
See Also:
  • Method Details

    • getAriaCheckedState

      String getAriaCheckedState(Element element)
      Returns the value of the aria-checked attribute for the element or "" if no such attribute is present.
    • removeAriaCheckedState

      void removeAriaCheckedState(Element element)
      Removes the aria-checked attribute from the element.
    • setAriaCheckedState

      void setAriaCheckedState(Element element, CheckedValue value)
      Sets the aria-checked attribute for the element to the given value.