-
Notifications
You must be signed in to change notification settings - Fork 29.5k
Description
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)