Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[iOS a11y] voiceover does not focus hidden children correctly in a scroll view #80991

Closed
chunhtai opened this issue Apr 22, 2021 · 2 comments · Fixed by flutter/engine#25738
Closed
Assignees
Labels
a: accessibility Accessibility, e.g. VoiceOver or TalkBack. (aka a11y) customer: money (g3) engine flutter/engine repository. See also e: labels. P0 Critical issues such as a build break or regression platform-ios iOS applications specifically waiting for PR to land (fixed) A fix is in flight

Comments

@chunhtai
Copy link
Contributor

b/184482502

import 'package:flutter/material.dart';
void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {

  @override
  Widget build(BuildContext context) {

    return MaterialApp(
        title: 'Default label',
        home: Scaffold(
          appBar: AppBar(
            title: const Text('Test'),
          ),
          body: SingleChildScrollView(
            child: Column(
              children: [
                SizedBox.fromSize(
                  size: const Size(100, 400),
                  child: const Text('text'),
                ),
                SizedBox.fromSize(
                  size: const Size(100, 400),
                  child: const Text('text'),
                ),
                Container(
                  height: 100,
                  child: Align(
                    alignment: Alignment.centerRight,
                    child: ListView.separated(
                      padding: const EdgeInsets.symmetric(horizontal: 16),
                      scrollDirection: Axis.horizontal,
                      shrinkWrap: true,
                      itemCount: 1,
                      separatorBuilder: (_, __) =>
                          SizedBox(width: 8.0),
                      itemBuilder: (context, index) {
                        return Center(
                          child: RaisedButton(
                            onPressed: () {},
                            child: const Text('button'),
                          ),
                        );
                      },
                    ),
                  ),
                ),
              ],
            ),
          ),
        )
    );
  }
}
  1. turn on voice over.
  2. swipe right three times to focus the button.

expect: the button receive focus and announce the label
actual: the parent rect of the button gets focused and the voiceover does not announce any label

@chunhtai chunhtai added platform-ios iOS applications specifically engine flutter/engine repository. See also e: labels. a: accessibility Accessibility, e.g. VoiceOver or TalkBack. (aka a11y) customer: money (g3) P2 labels Apr 22, 2021
@chunhtai chunhtai self-assigned this Apr 22, 2021
@chinmaygarde
Copy link
Member

The linked PR is being reviewed ATM.

@github-actions
Copy link

github-actions bot commented Aug 2, 2021

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 2, 2021
@flutter-triage-bot flutter-triage-bot bot added P0 Critical issues such as a build break or regression and removed P2 labels Jun 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a: accessibility Accessibility, e.g. VoiceOver or TalkBack. (aka a11y) customer: money (g3) engine flutter/engine repository. See also e: labels. P0 Critical issues such as a build break or regression platform-ios iOS applications specifically waiting for PR to land (fixed) A fix is in flight
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants