-
Notifications
You must be signed in to change notification settings - Fork 125
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
Inconsistent text for role=spinbutton #642
Comments
Required attributes in the table are authoring requirements. The table and text need to be consistent. |
I'm open to suggestions. Some things to consider:
With this in mind: What changes would you make to improve this situation? |
@joanmarie commented:
We need to accommodate the real world, which means that authors should not have to specify the min and max unless there is a min and max. That means, min and max cannot be required properties.
This is typical territory for "authors SHOULD" throughout the spec ... it is as it should be.
Currently, the default value is no min and no max. So, these APIs must have a way of handling situations where min and max are not specified. If they do not, I'd suggest that the APIs are insufficient because they cannot accurately reflect a valid, real-world use case. I'd suggest that bugs be raised against the APIs in that case. I'm going to address this in a PR along with related issue #797. |
…th sibling steppers For issue #797, allow empty spin buttons by: 1. Changing aria-valuenow to supported from required property. 2. Changing prose to author SHOULD from author MUST specify value for aria-valuenow. 3. Adding aria-valuetext as supported property. For issue #642, allow min and max to be undefined: 1. Change aria-valuemin and aria-valuemax from required to supported properties. 2. Revise prose of paragraph with normative statements. For issue #812: 1. Change description to clearly state that a text field with sibling buttons outside the spinbutton is permitted. 2. Related editorial change to consolidate keyboard requirements into a single paragraph. 3. Other related editorial revisions for clarity.
…th sibling steppers (#813) For issue #797, allow empty spin buttons by: 1. Changing aria-valuenow to supported from required property. 2. Changing prose to author SHOULD from author MUST specify value for aria-valuenow. 3. Adding aria-valuetext as supported property. For issue #642, allow min and max to be undefined: 1. Change aria-valuemin and aria-valuemax from required to supported properties. 2. Revise prose of paragraph with normative statements. For issue #812: 1. Change description to clearly state that a text field with sibling buttons outside the spinbutton is permitted. 2. Related editorial change to consolidate keyboard requirements into a single paragraph. 3. Other related editorial revisions for clarity.
The description for the spinbutton role is a bit inconsistent. This piece of text says that the
aria-valuemin
andaria-valuemax
attributes are not required.The table that follows this text says:
My guess is that the table is geared towards implementers and not authors. Authors that read the table might get confused as to whether the listed attributes are required or not.
The text was updated successfully, but these errors were encountered: