Skip to content

Remove button has the role "tab" which is not accessible #809

Open

Description

@msyavuz

Remove button on tabs has the "tab" role which is not accessible. Here's the line that causes this:
https://github.com/react-component/tabs/blob/master/src/TabNavList/TabNode.tsx#L131

Activity

  1. nrps9909 commented on Aug 26, 2026

    @nrps9909

    Rechecked against current master at dea2f5f48991865ddbf743b0f783f45eb72ff671. This was fixed by #810 (merged 2025-04-28): the remove control is now a native <button type="button"> sibling of the role="tab" element, rather than inheriting the tab role. The current regression also asserts that the remove control is an HTMLButtonElement and remains keyboard-activatable. This issue appears safe to close as completed.

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