-
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
Update: fix inconsistency around aria-setsize=-1 #2341
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for wai-aria ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
separates out aria-setsize from aria-posinset and aria-level - as the existing requirement of what to do with a 0 or -1 value made sense for the latter two attributes, but is what is causing the inconsistency for aria-setsize. add new requirements for handling 0/-1 as an unknown/indeterminate size, and indicating user agents must not calculate a size if these values are used for setsize
Co-authored-by: Melanie Sumner <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to resolve the confusion, thank you!
talking with @aleventhal about this some more, we should also add in what to do about if someone uses the empty string, or puts in literal "garbage" text strings. So this can probably be |
I know this is going to happen in a follow-up, but it's probably good if it's not too strict, e.g. spaces before and after the number are ok. I was going to do the following:
|
add that aria-setsize/posinset should also calculate value as if the attributes were not set, if they were provided the empty string. clarify that aria-setsize should return indeterminate for any value set that is not a positive whole number
simplifying author's should back to just -1 for indeterminate. core aam / User agents will be where other values are accounted for.
closes #1759
closes #2346
also closes w3c/core-aam#149
This PR adjusts the requirements for
aria-setsize
to fix the inconsistency between the ARIA and CORE AAM specs regarding the use of-1
as a value.Test, Documentation and Implementation tracking
Once this PR has been reviewed and has consensus from the working group, tests should be written and issues should be opened on browsers. Add N/A and check when not applicable.
Preview | Diff