Skip to content

[Feature]: support for disabledFocusable in Switch component #35788

@bsunderhus

Description

@bsunderhus

Area

React Components (@fluentui/react-components)

Describe the feature that you would like added

Add support for a disabledFocusable prop to the Switch component, consistent with other Fluent UI focusable components such as Button.

This would allow a switch to be visually and functionally disabled while remaining focusable, which is important for accessibility. A common scenario is disabling the switch after user interaction due to an invalid state (e.g. device mismatch) while keeping focus on the same control, instead of moving focus unexpectedly to another element. Today this behavior must be manually simulated, leading to inconsistent and error‑prone implementations.

Additional context

No response

Have you discussed this feature with our team

@microsoft/teams-prg

Validations

  • Check that there isn't already an issue that requests the same feature to avoid creating a duplicate.

Priority

High

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions