Skip to content

[pointer_interceptor] Wrapped elements are not accessible. #100157

@ditman

Description

@ditman

Internal: b/227167830

When a Button is wrapped by PointerInterceptor, it becomes not accessible (TalkBack doesn't read that there's a button).

Maybe the empty div on the pointer interceptor needs aria-hidden="true"?

Note: this works for desktop web, just not Android/iOS.

Steps to Reproduce

  1. Create a default flutter app
  2. Check that talkback works on the FaB
  3. Wrap the FaB in a PointerInterceptor
  4. Check that talkback does NOT work on the FaB.

Expected results:

  • I expect the button to be read by the screen-reader.

Actual results:

  • The button is not found by the screen-reader.

(Reported internally)

Metadata

Metadata

Assignees

Labels

P0Critical issues such as a build break or regressiona: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)p: pointer_interceptorA widget to prevent clicks from being swallowed by underlying HtmlElementViews on the webpackageflutter/packages repository. See also p: labels.platform-webWeb applications specifically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions