Skip to content

Switch does not support tabindex #2915

Closed
@tristanlins

Description

@tristanlins

What package within Headless UI are you using?

@headlessui/vue

What version of that package are you using?

v1.6.5

What browser are you using?

Chrome, Firefox

Reproduction URL

https://codesandbox.io/p/sandbox/nice-davinci-9xvtxj

Describe your issue

The <Switch> <button> element always has tabindex=0, setting <Switch tabindex="X"> will not change the tabindex!

Metadata

Metadata

Assignees

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