Skip to content

Radiobutton not announced on iOS #42793

@mehmetf

Description

@mehmetf

Internal: b/142419527, b/276298238

On Android, Radio and RadioListTile widgets are given a semantic hint of "radio button". However, this doesn't seem to happen on iOS. As it is, iOS users have no way to know the elements are radio buttons (and not checkboxes).

repro case:

import 'package:mobile.flutter.google_material.components/google_material.dart';

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'radio issue repro',
      theme: GoogleMaterial.theme(),
      home: Scaffold(
        body: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            Radio(),
            RadioListTile(
              title: Text('item 1'),
            ),
            RadioListTile(
              title: Text('item 2'),
            ),
          ],
        ),
      ),
    );
  }
}

on Android, the first RadioListTile is announced as "checked, item 1, radio button, disabled"
on iOS, that same RadioListTile is announced as "selected, item 1, dim"

Metadata

Metadata

Assignees

Labels

P0Critical issues such as a build break or regressiona: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)customer: chalk (g3)customer: googleVarious Google teamsf: material designflutter/packages/flutter/material repository.found in release: 3.3Found to occur in 3.3found in release: 3.5Found to occur in 3.5frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-iosiOS applications specificallyr: fixedIssue is closed as already fixed in a newer version

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions