Skip to content

Accordion: an expanded item that cannot collapse is missing aria-disabled #3493

Closed as not planned

Description

@jsabutis

Description

In a single accordion with collapsible: false (the default), activating the trigger of the expanded item does nothing. The trigger still exposes no aria-disabled, so screen readers announce an active, expanded button that cannot be collapsed.

https://github.com/chakra-ui/zag/blob/main/packages/machines/accordion/src/accordion.connect.ts#L91

Steps to reproduce

  1. Render an accordion with the default props (multiple: false, collapsible: false).
  2. Expand the first item.
  3. Inspect its trigger, or press Enter on it again.

Expected

The WAI-ARIA accordion pattern says: "If the accordion panel associated with an accordion header is visible, and if the accordion does not permit the panel to be collapsed, the header button element has aria-disabled set to true."

Actual

The trigger has aria-expanded="true" and no aria-disabled. Pressing Enter does nothing, with no signal to assistive technology.

Observed on current main.

Activity

  1. segunadebayo commented on Oct 21, 2026

    @segunadebayo
    Member

    Closing as not planned — see the reasoning in #3494.

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

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