Skip to content

[Windows][Accessibility] Flutter widgets do not expose enabled/disabled state to windows accessibility infrastructure #184559

Description

Steps to reproduce

Add a Flutter button with onPressed valued (like in demo application)
Add a Flutter button with onPressed: null
Run the application
Inspect accessibility features of the buttons (for example using FlaUInspect or Appium Inspector)

Expected results

The enabled/disabled state is propagated to Windows accessibility infrastructure.

Actual results

The enabled/disabled state is not propagated to Windows accessibility infrastructure.

Code sample

Code sample
      FloatingActionButton(
        onPressed: _incrementCounter,
        child: const Icon(Icons.add),
      ),
      FloatingActionButton(
        onPressed: null,
        child: const Icon(Icons.add),
      ),

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Logs

Logs
[Paste your logs here]

Flutter Doctor output

Doctor output
[Paste your output here]

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)a: desktopRunning on desktopplatform-windowsBuilding on or for Windows specificallyteam-windowsOwned by the Windows platform teamtriaged-windowsTriaged by the Windows platform team

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions