Skip to content

[a11y] apply radioGroup role to material widgets #164584

@yjbanov

Description

@yjbanov

This is a follow-up to #162093.

The following material widgets should use the SemanticsRole.radioGroup as automatically as possible:

It may not be possible for some widgets to automatically create a group. For example, a Radio or RadioListTile alone does not form a group. However, when they are in a group, they should participate seamlessly.

Widgets that have a clear intent to form a group of radio widgets, should apply the radioGroup role automatically, such as SegmentedButton (when used in exclusive mode), and showTimePicker that contains groups of exclusive radios (e.g. "AM"/"PM").

See also the Cupertino version of this issue: #164589

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)f: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.team-accessibilityOwned by Framework Accessibility team (i.e. responsible for accessibility code in flutter/flutter)triaged-accessibilityTriaged by Framework Accessibility team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions