Skip to content

Sidebar: a collapsible group or menu item collapsed from outside still reports itself as expanded #100

Description

@StanZGenchev

aria-expanded is written once when the label mounts and then only from its own click handler, so binding the collapsed state to an expression and changing it elsewhere leaves the attribute behind. The content hides correctly while a screen reader is still told the section is open, and the collapse arrow, which turns off that attribute, goes on pointing the wrong way.

Activity

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions