Skip to content

Tabs a11y: Need way to pass element to right of tablist while keeping outside of role="tablist" element. #6217

Open
@bvandercar-vt

Description

Feature request

Tabs: Need way to pass element to right of tablist while keeping outside of role="tablist" element.

For example, on the docs app, this searchbar:

image

Is currently created like such:

image

But the issue with this is that the input element gets put within the element that has role="tablist". This is a major accessibility failure, as this input element is not truly part of the list of tabs; it's a separate component that is adjacent to the list of tabs.

Desired implementation would be something like:

image

With the expected result being visually the same.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions