Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CORE-AAM 1.1: Ensure default mappings for aria-valuemin and aria-valuemax are properly mapped for all associated roles #463

Closed
richschwer opened this issue Nov 2, 2016 · 4 comments
Assignees

Comments

@richschwer
Copy link
Contributor

Moved from tracker action: https://www.w3.org/WAI/ARIA/track/actions/2119

@cookiecrook
Copy link
Contributor

Rich's comment from Tracker:

Authors MUST set the aria-valuemin, aria-valuemax, and aria-valuenow attributes. If missing, their implicit values follow the same rules as the HTML range input type:

If aria-valuemin is missing or not a number, it defaults to 0 (zero).
If aria-valuemax is missing or not a number, it defaults to 100.
If aria-valuenow is missing or not a number, it defaults to the value half way between aria-valuemin and aria-valuemax.
If aria-valuenow is present but less than aria-valuemin, it defaults to the value of aria-valuemin.
If aria-valuenow is present but greater than aria-valuemax, it defaults to the value of aria-valuemax.

@cookiecrook
Copy link
Contributor

Joseph's comment from Tracker:

Regarding Rich's comment 19 Oct 2016, the rules he cites are for slider, which matches the HTML range input type. They also apply to the scrollbar role.

It's different for spinbutton (HTML number input type):

  • if aria-valuemax is missing, then the spinbutton has no upper bound (Accessibility API dependent).
  • if aria-valuemin is missing, the spinbutton has no lower bound (Accessibility API dependent).
  • a missing aria-valuenow defaults to zero.

Also, all of these mappings are based on the ARIA 1.1 spec text for slider, scrollbar, and spinbutton.

@joanmarie
Copy link
Contributor

Silly question: Isn't that what I already committed for WebKit? https://trac.webkit.org/changeset/208739

@cookiecrook
Copy link
Contributor

Silly question:

How is that a silly question?

Isn't that what I already committed for WebKit? https://trac.webkit.org/changeset/208739

Great. Closing issue. Thanks Joanie.

pkra pushed a commit that referenced this issue May 20, 2024
merging with 1.5 reflections in checkers, and the fact this is an update to match HTML AAM.


Update: naming prohibited changes for hgroup, address, rp
hgroup, address have each been mapped to the group role, and thus no longer prohibit naming.
rp is not an element that _should_ be exposed to users, and even when it is - if ruby content is not supported - then it really should not be given a name then, either.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants