Skip to content

[Windows][A11y] Windows app doesn't support NVDA/JAWS shortcut H for headings #113960

@yimin0613

Description

@yimin0613

See b/251178462

Steps to Reproduce

  1. On Windows machine, turn on NVDA/JAWS
  2. Execute flutter run with the code sample
  3. Press shortcut key H

Expected results:
3. The heading (Appbar title) should be read out

Actual results:
3. Only "H" is read out instead of the title

Code sample
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    // Auto-enable accessibility for our Blind and Low Vision customers (see
    // https://docs.flutter.dev/development/accessibility-and-localization/accessibility#screen-readers).
    RendererBinding.instance.setSemanticsEnabled(true);

    return MaterialApp(
      title: 'My Flutter App',
      home: Scaffold(
        appBar: AppBar(
          title: const Text('My Flutter Windows App'),
        ),
        body: Center(
          child: Column(
            children: const [
              Text('This is the first line.'),
              Text('This is the second line.'),
            ],
          ),
        ),
      ),
    );
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)a: desktopRunning on desktopcustomer: googleVarious Google teamsengineflutter/engine related. See also e: labels.from: a11y reviewReported by an accessibility review teamplatform-windowsBuilding on or for Windows specificallyteam-windowsOwned by the Windows platform team

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions