public interface ButtonRole extends CommandRole
Modifier and Type | Method and Description |
---|---|
String |
getAriaExpandedState(Element element)
Returns the value of the
aria-expanded attribute for the
element or "" if no
such attribute is present. |
String |
getAriaPressedState(Element element)
Returns the value of the
aria-pressed attribute for the
element or "" if no
such attribute is present. |
void |
removeAriaExpandedState(Element element)
Removes the
aria-expanded attribute from the
element . |
void |
removeAriaPressedState(Element element)
Removes the
aria-pressed attribute from the
element . |
void |
setAriaExpandedState(Element element,
ExpandedValue value)
|
void |
setAriaPressedState(Element element,
PressedValue value)
|
getAriaAtomicProperty, getAriaBusyState, getAriaControlsProperty, getAriaDescribedbyProperty, getAriaDisabledState, getAriaDropeffectProperty, getAriaFlowtoProperty, getAriaGrabbedState, getAriaHaspopupProperty, getAriaHiddenState, getAriaInvalidState, getAriaLabelledbyProperty, getAriaLabelProperty, getAriaLiveProperty, getAriaOwnsProperty, getAriaRelevantProperty, getName, getTabindexExtraAttribute, remove, removeAriaAtomicProperty, removeAriaBusyState, removeAriaControlsProperty, removeAriaDescribedbyProperty, removeAriaDisabledState, removeAriaDropeffectProperty, removeAriaFlowtoProperty, removeAriaGrabbedState, removeAriaHaspopupProperty, removeAriaHiddenState, removeAriaInvalidState, removeAriaLabelledbyProperty, removeAriaLabelProperty, removeAriaLiveProperty, removeAriaOwnsProperty, removeAriaRelevantProperty, removeTabindexExtraAttribute, set, setAriaAtomicProperty, setAriaBusyState, setAriaControlsProperty, setAriaDescribedbyProperty, setAriaDisabledState, setAriaDropeffectProperty, setAriaFlowtoProperty, setAriaGrabbedState, setAriaHaspopupProperty, setAriaHiddenState, setAriaInvalidState, setAriaLabelledbyProperty, setAriaLabelProperty, setAriaLiveProperty, setAriaOwnsProperty, setAriaRelevantProperty, setTabindexExtraAttribute
String getAriaExpandedState(Element element)
element
or "" if no
such attribute is present.String getAriaPressedState(Element element)
element
or "" if no
such attribute is present.void removeAriaExpandedState(Element element)
element
.void removeAriaPressedState(Element element)
element
.void setAriaExpandedState(Element element, ExpandedValue value)
void setAriaPressedState(Element element, PressedValue value)
Copyright © 2018. All rights reserved.