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

Move some properties from "required" to "supported" on slider role #946

Merged
merged 6 commits into from Jun 4, 2019

Conversation

melanierichards
Copy link
Contributor

@melanierichards melanierichards commented Apr 11, 2019

Addresses #860


Preview | Diff

@jnurthen
Copy link
Member

link for review

@carmacleod
Copy link
Contributor

Change:

Authors MUST set the aria-valuemin, aria-valuemax, and aria-valuenow attributes.

to:

Authors MUST set the aria-valuenow attribute.

@carmacleod
Copy link
Contributor

Also, the list that follows that sentence need to be reworded:

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.

Maybe delete the valuenow bullet?

@melanierichards
Copy link
Contributor Author

Addressed this one similarly to #944, so probably the discussion will be pretty similar. Likewise, quick check at Win browsers suggest implementations don't follow the repair techniques for aria-valuenow: https://jsfiddle.net/0vnj1fqk/3/embedded/result

index.html Outdated Show resolved Hide resolved
index.html Show resolved Hide resolved
index.html Outdated Show resolved Hide resolved
@melanierichards
Copy link
Contributor Author

Feedback from 2019-05-23 call should be addressed.

@joanmarie joanmarie merged commit 3704546 into w3c:master Jun 4, 2019
joanmarie pushed a commit that referenced this pull request Jun 4, 2019
)

Addresses #860
* Reword slider role prose to reflect that aria-valuemin, valuemax are now supported, not required
* Remove aria-valuenow repair techniques from inline in the slider role
* Make fallback table more robust for aria-valuenow on slider role
* Add pointer to the fallback table from slider role
* Remove supported but not required attrs on slider from the author error handling table
carmacleod pushed a commit that referenced this pull request Oct 17, 2019
)

Addresses #860
* Reword slider role prose to reflect that aria-valuemin, valuemax are now supported, not required
* Remove aria-valuenow repair techniques from inline in the slider role
* Make fallback table more robust for aria-valuenow on slider role
* Add pointer to the fallback table from slider role
* Remove supported but not required attrs on slider from the author error handling table
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants