-
Notifications
You must be signed in to change notification settings - Fork 21
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
Document aria-own attribute #3
Comments
It could be good as an option, but not as a default. WAI says that The common use case for a toggle is a direct DOM relationship. First rule of ARIA: if you can go with native HTML, do so. It could be an option (like "I want to toggle that far far away thing > true"), but I'm not sure this a going to be used. Edit: I recommend to avoid it, and to explain a direct DOM relationship is needed. And only if this isn't possible at all, then user should read about Do you agree? |
And where one did use it, I'm thinking Also, not tested but I'm wondering if it only works correctly if it is a parent to child relationship, as in Léonie's |
I’d rather document it if you guys consider this appropriate than bundle it inside the lib considering how edgy it is. |
+1 |
+2 :) |
There is no need for @WW3 can you elaborate why |
I’m closing this for now. I’ll open again if necessary. Feel free to continue discussing. :) |
by adding aria-owns to the toggle button with the div's id, screen readers will adjust the virtual buffer as if they were adjutants elements, even if they were not so in the DOM.
Toggle content
The text was updated successfully, but these errors were encountered: