Skip to content

[Flutter web-semantics] Feature request: Enable Accessibility button upper left 1 pixel instead of offscreen 1 pixel #177670

@ecolab-neil

Description

@ecolab-neil

Use case

Automation tools such as Maestro and probably Appium seem to not be able to tap on
document.querySelector('flt-semantics-placeholder[aria-label="Enable accessibility"]') .click(); because it is at absolute positivion -1 left and -1 top of the screen (offscreen).

Maestro does appear to be able to tap on an invisible button with no text if it is at 1,1.

I am not sure if i have bandwidth to PR this but i wanted to get the discussion going.
See: https://docs.flutter.dev/ui/accessibility/web-accessibility#invisible-button

Can anyone think of a reason that the ('flt-semantics-placeholder[aria-label="Enable accessibility"]' has to be offscreen rather than "just" onepixel, invisible, transparent etc?

Proposal

Change just 2 characters in the code to make the button be "+" 1 left and "+" one top insteda of "-" (or remove the negative)

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work lista: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)c: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterplatform-webWeb applications specificallyteam-webOwned by Web platform teamtriaged-webTriaged by Web platform team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions