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

Accessible Role for summary Element #546

Open
ITenthusiasm opened this issue Sep 13, 2023 · 0 comments
Open

Accessible Role for summary Element #546

ITenthusiasm opened this issue Sep 13, 2023 · 0 comments

Comments

@ITenthusiasm
Copy link

Is there any possibility of aria-query adding an accessible role for the summary element? As the native, accessible, JS-free solution for "Accordion Components", the details and summary elements are incredibly important when it comes to testing web apps (for instance, with the Testing Library tools or with Playwright). As I pointed out in Playwright's Repository, many user agents are already giving the summary element some kind of "button-like" role in the end. So it would be great if aria-query could expose summary elements as buttons too.

That said, I don't know how aria-query feels about agents driving the role instead of the spec.

(Note: I opened this as its own issue since #44 didn't seem conclusive.)

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

1 participant