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

Keyboard accessible accordions #61

Open
Malvoz opened this issue Mar 9, 2022 · 1 comment
Open

Keyboard accessible accordions #61

Malvoz opened this issue Mar 9, 2022 · 1 comment

Comments

@Malvoz
Copy link
Member

Malvoz commented Mar 9, 2022

From Leaflet/Leaflet#8006 (comment):

Misc / General site issues

  • Accordions in the Leaflet API reference are not keyboard accessible.
    Replace custom <div> accordion (inherited.hbs, reference.js) with <details>? Or handle it via tabindex="0", role="button", aria-expanded, etc.?
    This is (also) a Leafdoc accordion issue.

Support data for <details> and <summary>: https://caniuse.com/details.

I'm not sure if/when I'll get to this, hopefully others can contribute.

@Malvoz
Copy link
Member Author

Malvoz commented Sep 26, 2022

Maybe this should wait until "auto-expand <details> on find-in-page and fragment navigations" is widely supported.

Filed Fyrd/caniuse#6472.

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