Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Proposal] Allow focus on disabled controls #7749

Open
@batzen

Description

@batzen

Problem

I always wondered, and was recently remembered by it again in fluentribbon/Fluent.Ribbon#1121 by @cbra-caa, why focus on disabled controls is completely blocked.
IMHO this reduces accessibility as people with disabilities are completely blocked from accessing disabled controls using the keyboard.

Proposal

I propose that we, optionally, allow focus on disabled controls.
That way application developers could add accessibility options to their applications to allow focus on disabled controls.

Implementation

To implement this we could add a new property like FocusableWhenNotEnabled which would unblock focus on disabled controls.

I will give this a try and create a PR in the near future to explore which areas of WPF would have to be modified to make this possible.

If anyone has suggestions, concerns or any other kind of feedback regarding this i would be happy to hear from you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Enhancement RequestedProduct code improvement that does NOT require public API changes/additions

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions