Steps to reproduce
- Copy the repro project into DartPad and run it
- Enable accessibility in Flutter
- Use an accessibility service or a mouse to click on the button
Expected results
Nothing should happen, similar to clicking on the button with a mouse without enabling accessibility.
Actual results
The UI performs a screen transition as if it were some sort of navigation. I believe this symptom is also what is causing the reload in our app.
Code sample
Code sample
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
home: Scaffold(
body: Center(
child: InkWell(
onTap: () {},
child: Semantics(
link: true,
child: const Text('Hello, World!'),
),
),
),
),
);
}
}
Screenshots or Video
No response
Logs
No response
Flutter Doctor output
Internal bug b/328226356
Steps to reproduce
Expected results
Nothing should happen, similar to clicking on the button with a mouse without enabling accessibility.
Actual results
The UI performs a screen transition as if it were some sort of navigation. I believe this symptom is also what is causing the reload in our app.
Code sample
Code sample
Screenshots or Video
No response
Logs
No response
Flutter Doctor output
Internal bug b/328226356