Bug 164773 - AX: Need to update implicit/default values for aria-valuemin, aria-valuenow, and aria-valuemax
Summary: AX: Need to update implicit/default values for aria-valuemin, aria-valuenow, ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Joanmarie Diggs
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-11-15 07:41 PST by Joanmarie Diggs
Modified: 2016-11-15 11:31 PST (History)
9 users (show)

See Also:


Attachments
Patch (9.05 KB, patch)
2016-11-15 08:06 PST, Joanmarie Diggs
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joanmarie Diggs 2016-11-15 07:41:20 PST
In ARIA 1.1, the implicit/default values for aria-valuemin, aria-valuenow, and aria-valuemax are as follows:

For roles other than spinbutton:
* Default for aria-valuemin is 0. 
* Default for aria-valuemax is 100. 
* Default for aria-valuenow is half way between aria-valuemax and aria-valuemin.

For spinbutton:
* Default for aria-valuemin is that there is no minimum value.
* Default for aria-valuemax is that there is no maximum value.
* Default for aria-valuenow is 0.

We currently are returning 0 for all non-specified values.

We need to decide how to expose "no minimum/maximum value." At least in the case of ATK/AT-SPI2, we need to return something, and the something is expected to be a number. My proposal is that we expose the values we use to constrain input type="number": -std::numeric_limits<float>::max() to std::numeric_limits<float>::max().
Comment 1 Radar WebKit Bug Importer 2016-11-15 07:44:00 PST
<rdar://problem/29268020>
Comment 2 Joanmarie Diggs 2016-11-15 08:06:42 PST
Created attachment 294835 [details]
Patch
Comment 3 WebKit Commit Bot 2016-11-15 11:31:27 PST
Comment on attachment 294835 [details]
Patch

Clearing flags on attachment: 294835

Committed r208739: <http://trac.webkit.org/changeset/208739>
Comment 4 WebKit Commit Bot 2016-11-15 11:31:31 PST
All reviewed patches have been landed.  Closing bug.