-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
flutter/engine
#38958Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work lista: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)Accessibility, e.g. VoiceOver or TalkBack. (aka a11y)customer: huggsy (g3)platform-webWeb applications specificallyWeb applications specifically
Description
Steps to Reproduce
- Run sample code on Chrome on desktop
- Enable accessibility
- Navigate to the next element using VoiceOver shortcuts.
Expected results: The element with autofocus needs to gain focus
Actual results: Can't navigate using VoiceOver unless exit web content and come back.
Code sample
void main(){
runApp(const MyApp());
}
class MyApp extends StatefulWidget {
const MyApp({super.key});
@override
State<StatefulWidget> createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
Widget build(BuildContext context) => MaterialApp(
home: Center(
child: Column(
children: [
TextButton(
onPressed: () {},
autofocus: true,
child: const Text('Text 1'),
),
TextButton(
onPressed: () {},
child: const Text('Text 2'),
),
TextButton(
onPressed: () {},
child: const Text('Text 3'),
),
TextButton(
onPressed: () {},
child: const Text('Text 4'),
),
TextButton(
onPressed: () {},
child: const Text('Text 5'),
),
TextButton(
onPressed: () {},
child: const Text('Text 6'),
),
],
),
),
);
}
Metadata
Metadata
Assignees
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work lista: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)Accessibility, e.g. VoiceOver or TalkBack. (aka a11y)customer: huggsy (g3)platform-webWeb applications specificallyWeb applications specifically