-
Notifications
You must be signed in to change notification settings - Fork 201
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
Incorrect ARIA usage (blocks DOM, Fetch, URL, etc.) #2476
Comments
This also blocks DOM and presumably other specifications. |
Hmm, perhaps there should be some tests that uses the same validator 🤔 |
Wait, why is WHATWG blocked on this? Do y'all have the validator in your own publishing pipeline too? Anyway, as far as I can tell it would be a semantic regression to switch the dfn panels to naked |
Yes, we validate. |
Bro, do you even validate? |
Sigh, all right. For context, this was already raised internally, but as a medium prio (as in, would be useful to fix in a week or so but not actively blocking). I'm chatting with @scottaohara about this on Twitter right now. |
WebGPU also soft-blocked on this. We continuously publish to TR and my understanding is TR won't allow publishing documents that fail validation. Because of this, our PR build checks require the TR build to pass (or admin override). |
Perhaps worth unpublishing before the fix happens? |
Yeah, I'm just ripping out most of the ARIA changes for now until I get accurate guidance on what to do here (since my spelunking thru MDN and Google apparently didn't yield good info). |
Okay, ripped out, what's left should be valid and still useful. Version 3.11.10 will hopefully pass validation. |
Fingers crossed! |
It's green, thank you! |
The validator is green but the validator does not run JavaScript code and the generated HTML once JavaScript code has run still seems invalid: the At a minimum, that makes it difficult for me to create tests in Reffy as I cannot reproduce the exact same DOM tree with static HTML content (browsers automatically close the previous |
Yes, the HTML parser makes it impossible to place the panel element in the correct place in the markup. That is complely unfixable - even ignoring the panel's outermost element, the panel contains elements ( And the panel has to be at that location to receive reasonable tabbing behavior. The alternative is putting in pretty substantial effort to manually juggle tabindex values, which I'm not willing to do to satisfy a theoretical notion of validity, unless there's demonstrated real-world issues with what I'm doing. (And remember, the situation before I made these recent changes is that the panels were all clustered at the end of the document and were only mouse-accessible. The current situation is a strict improvement over what came before.) |
New day, new Fetch build failure:
I suspect this is from 55f2a5c by @dlaliberte?
As per https://w3c.github.io/html-aria/#el-aside
menu
is indeed not allowed here.The text was updated successfully, but these errors were encountered: