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

Allow to use hidden attribute instead of aria-hidden #12

Open
ryuran opened this issue Jun 17, 2020 · 1 comment
Open

Allow to use hidden attribute instead of aria-hidden #12

ryuran opened this issue Jun 17, 2020 · 1 comment
Assignees

Comments

@ryuran
Copy link

ryuran commented Jun 17, 2020

Hello.
Tablist only manage aria-hidden attribute for tab panels.
It could manage hidden element for modern browsers.
https://developer.mozilla.org/fr/docs/Web/HTML/Attributs_universels/hidden

@enwin enwin self-assigned this Jun 18, 2020
@enwin
Copy link
Contributor

enwin commented Jun 18, 2020

Yes!

I noticed that the latest version of the WAI-ARIA Authoring Practices was using the hidden attribute instead of aria-hidden (https://www.w3.org/TR/wai-aria-practices-1.1/#tabpanel). We'll look into adding the support of the attribute while keeping aria-hidden for backward compatibility 👍

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

No branches or pull requests

2 participants