-
Notifications
You must be signed in to change notification settings - Fork 0
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
What do we need to complete the aria coverage of web components? #2
base: main
Are you sure you want to change the base?
Conversation
<!-- https://leobalter.github.io/cross-root-aria-delegation/ doesn't currently include 'role', but should? --> | ||
<!-- https://leobalter.github.io/cross-root-aria-delegation/ doesn't currently include 'aria-controls', but should? --> | ||
<!-- https://leobalter.github.io/cross-root-aria-delegation/ doesn't currently include 'aria-activedescendant', but should? --> | ||
<input type="text" autoAriaLabelledby autoRole autoAriaExpanded autoActivedescendant> |
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.
<input type="text" autoAriaLabelledby autoRole autoAriaExpanded autoActivedescendant> | |
<input type="text" autoAriaLabelledby autoRole autoAriaExpanded autoAriaActivedescendant autoAriaControls> |
for="input" | ||
id="label" | ||
> | ||
<!-- I've not seen talk of offering "for" functionality on other elements, so we likely need to leverage labelledby instead --> |
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.
for
would come from Customized Built-ins, which won't ship.
Can it also come from ElementMixins
as it would be particularly nice for the relationship to bind with the click + focus forwarding, etc of a label, as well.
<!-- https://leobalter.github.io/cross-root-aria-delegation/ doesn't currently include 'aria-labelledby', but should? --> | ||
<!-- https://leobalter.github.io/cross-root-aria-delegation/ doesn't currently include 'role', but should? --> | ||
<!-- https://leobalter.github.io/cross-root-aria-delegation/ doesn't currently include 'aria-controls', but should? --> | ||
<!-- https://leobalter.github.io/cross-root-aria-delegation/ doesn't currently include 'aria-activedescendant', but should? --> |
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.
These are based on AriaMixin
which doesn't include any ID ref attributes, is there a mixin for that? Can we cover these? Are there centralized somewhere for easy inclusion here?
#shadow-root | ||
<ul role="listbox"> | ||
<!-- OP skipped over the inability to use this DOM structure, but no need to nitpick --> | ||
<!-- Placing the role here implies that we can reflect the element out of the shadow DOM in some way, |
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 role
might ONLY manage down in a way that it wouldn't need to be reflected. Review with browsers.
No description provided.