Skip to content

Keyboard accessible accordions #61

@Malvoz

Description

@Malvoz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions