Skip to content
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

role separator can have a superclass of widget if focusable #587

Open
aloisklink opened this issue Oct 18, 2024 · 1 comment
Open

role separator can have a superclass of widget if focusable #587

aloisklink opened this issue Oct 18, 2024 · 1 comment
Assignees

Comments

@aloisklink
Copy link

aloisklink commented Oct 18, 2024

Since ARIA 1.1, separator has a superclass of widget if focusable (it looks like it's the only ARIA roles that can have different superclasses).

I'm not sure if it's possible to somehow add this, or if this library assumes that each aria role only has one superclass chain.

There's also a separate issue that aria-valuenow is a required prop if the separator is focusable (see also: #230 (comment)), but again, I don't know you'd be able to add that into the current code-base.


Looks like there's also an issue in w3c/aria#1348 that suggests making a separate role="resizer" to avoid separator acting differently depending on whether it's focusable or not.

@cmorten
Copy link
Contributor

cmorten commented Oct 27, 2024

See also #547 (comment) which seems relevant to discussion r.e. superclasses with constraints (in this other case for the form role conditional having a superclass of landmark depending on whether the form is named).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants