Skip to content

ExpansionTile accessibility information doesn't read Expanded/Collapsed (iOS) #132264

@zxm3ow

Description

@zxm3ow

Internal: b/269139224

Is there an existing issue for this?

Steps to reproduce

  1. Click on the ExpansionTile component with text "xxx" with accessibility mode enabled. Then, it will read like "xxx, Expanded double tap to collapse" or "xxx, Collapsed double tap to expand".
  2. Double click on the ExpansionTile component, then immediately it will only read "xxx", but the expected words are "xxx Expanded" or "xxx Collapsed"
  3. Note if you single click on the ExpansionTile component it will still read out the output described in step 1 as expected. The only issue is just at step 2, when user finishes the double clicking.

It seems that this issue has been fixed by #74963, but reverted by #121699 with a new solution introduced. In the final video shown by #121699, this issue exists. Furthermore, the error seems to be that "Expanded" and "Collapsed" hints are interrupted when being announced. Related issue --> #122101. One solution might be delaying the announcement.

Expected results

When double clicked, the ExpansionTile component should read out "xxx Expanded" or "xxx Collapsed".

Actual results

When double clicked, the ExpansionTile component only reads out "xxx".

Code sample

Code sample
ExpansionTile(
tilePadding: EdgeInsets.zero,
title: Text("xxx"),
expandedAlignment: Alignment.topLeft,
childrenPadding: const EdgeInsetsDirectional.only(
start: 48,
top: 12,
end: 0,
bottom: 12,
),
children: [],
)

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Logs

Logs
[Paste your logs here]

Flutter Doctor output

Doctor output
[Paste your output here]

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work lista: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)customer: huggsy (g3)f: material designflutter/packages/flutter/material repository.found in release: 3.10Found to occur in 3.10found in release: 3.14Found to occur in 3.14frameworkflutter/packages/flutter repository. See also f: labels.platform-iosiOS applications specificallyr: fixedIssue is closed as already fixed in a newer versionteam-iosOwned by iOS platform teamtriaged-iosTriaged by iOS platform team

Type

No type

Projects

Status

Done (PR merged)

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions