The PushButton component allows submission of a form in it's entirety or also the submission of itself only. This component supports an action attribute as well as an actionListener attrbiute similar to a jsf commandButton.
This section covers attributes involved in the typical use-cases for this component. For reference, the complete taglib documentation for this component is available here.
Pushbutton component supports keyboard short-cuts and ARIA. Aria support can be enabled at page level or at application level. By default ARIA is enabled at application level.
To enable/disable ARIA at page level, the ice:config tag handler can used:
To enable/disable ARIA at application level, the following param can be set in web.xml.
- space or enter key will fire the button's onclick event
Aria role="button", aria-describedby and aria-disabled properties supported
The ARIA implementation is based on the specification at button aria practices. Currently only the basic ARIA attributes and single-key keyboard shortcuts have been implemented.
|yui-class||yui-button-focus||yui-button-hover||yui-button-active||yui-button-disabled||space or enter will submit||role, disabled, description|
|Submit||submit form & queus event||none||submit form/queue event|
|Single Submit||submit button only & queue event||none||submit form/queue event|
|Screen Reader||description||description||role & description||role|