Ticket #7866 (new defect)
Spinner: inconsistency with null value and aria-valuenow property
| Reported by: | clown | Owned by: | becky |
|---|---|---|---|
| Priority: | normal | Milestone: | tbd |
| Component: | Accessibility | Version: | 1.2.0 |
| Severity: | normal | Keywords: | spinner aria valuenow |
| Cc: | davidb |
Description
When a spinner is set to a null value via spinner.attr('value', null), the value of the spinner and its aria-valuenow property do not match:
spinner.attr('value') -> NaN
dijit.getWaiState(spinner, 'valuenow') -> "" (the empty string).
The ARIA specification for spinner is not clear on this case: see http://www.w3.org/WAI/PF/aria/#spinbutton.
FWIW, I think the spinner's value and its aria-valuenow should always match. In this case, aria-valuenow should also be NaN.
Ultimately, it depends on what the ARIA working group decides.
Change History
Note: See
TracTickets for help on using
tickets.