-
Notifications
You must be signed in to change notification settings - Fork 49
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
Why MUST use lowercase ASCII letters for roles? #280
Comments
Also, as an aside, I don't see why this section needs to be called out on its own? It should just be part of the "Developer requirements for use of ARIA in HTML" |
agree, but will keep this requirement in place until this is implemented. |
It should be tested with all relevant browsers and not only Chrome and Safari |
@marcoscaceres case sensitive in Firefox 87.0b2 (64-bit) |
Agree. I was just trying to see if there was some browser support. Two browsers conforming does make a standard, so can the requirement be dropped?
Understood, but that's then a Firefox bug (given the other browsers do the right thing), right? Something we can bug the gecko folks to fix. |
Steve went back in time to file it: https://bugzilla.mozilla.org/show_bug.cgi?id=1407167 |
@pkra thanks for finding that, it was so long ago had forgotten :-) |
Lol, yeah. Don't give Firefox a pass here. It's a web compat issue, not a spec issue. |
removed the label for 1.0. per the discussion in the PR, don't want this to merge yet. |
Firefox patch sent. Awaiting review. |
Patch landed and it's shipping in FF Nightly, so now all browser engines behave the same 🎉. @scottaohara, I think that puts this back in scope of 1.0, right? |
I think the browser part addressed, but not the AT and OS API compat #287 (comment) |
Right, so as Jamie stated:
IIUC, normalizing to lcase at the browser level for computed/derived roles seems best here. However, that's independent of the advice given to developers (which is generally not helpful and doesn't scale). Having said that, we should also tell the ATs to lcase things, just to make sure we have all bases covered. Do we know folks working on the ATs that we can get in touch with? |
closing this issue per merge of #333 where "MUST" was changed to "SHOULD" |
The spec says:
That seems counter to the use of tokenized attribute values elsewhere in HTML, no? Why not just shift that burden to browsers to canonicalize the tokens to lower case before passing them to the AT?
The text was updated successfully, but these errors were encountered: