Repository navigation
ExpansionTile accessibility information doesn't read Expanded/Collapsed (iOS) #132264
Copy link
Copy link
Closed
Closed
Copy link
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)Accessibility, e.g. VoiceOver or TalkBack. (aka a11y)customer: huggsy (g3)found in release: 3.10Found to occur in 3.10Found to occur in 3.10found in release: 3.14Found to occur in 3.14Found to occur in 3.14frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.p: material_uimaterial_ui package in flutter/packagesmaterial_ui package in flutter/packagesplatform-iosiOS applications specificallyiOS applications specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-iosOwned by iOS platform teamOwned by iOS platform teamtriaged-iosTriaged by iOS platform teamTriaged by iOS platform team
Description
Internal: b/269139224
Is there an existing issue for this?
- I have searched the existing issues
- I have read the guide to filing a bug
Steps to reproduce
- 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".
- Double click on the ExpansionTile component, then immediately it will only read "xxx", but the expected words are "xxx Expanded" or "xxx Collapsed"
- 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]Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)Accessibility, e.g. VoiceOver or TalkBack. (aka a11y)customer: huggsy (g3)found in release: 3.10Found to occur in 3.10Found to occur in 3.10found in release: 3.14Found to occur in 3.14Found to occur in 3.14frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.p: material_uimaterial_ui package in flutter/packagesmaterial_ui package in flutter/packagesplatform-iosiOS applications specificallyiOS applications specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-iosOwned by iOS platform teamOwned by iOS platform teamtriaged-iosTriaged by iOS platform teamTriaged by iOS platform team
Type
Projects
- StatusShow more project fieldsDone (PR merged)
Activity
darshankawar commentedon Aug 10, 2023
Thanks for the report. I do see the same behavior as described, ie, when we double tap to expand, it doesn't read out at that time, but after if we single tap on the expanded list, it reads out as
expanded.The same behavior occurs using the example as well.
stable, master flutter doctor -v
TahaTesser commentedon Aug 10, 2023
This was relanded in #124281
stuartmorgan-g commentedon Aug 14, 2023
@chunhtai Was the PR above expected to fix this? It sounds like it's still broken on master.
chunhtai commentedon Aug 14, 2023
maybe related to b/291639579
7 remaining items
TahaTesser commentedon Feb 21, 2024
@math1man i can fix this. Do you any recommendations for how many long we should delay? Considering different languages.
math1man commentedon Feb 21, 2024
No idea. The
Formwidget uses a delay of 1 second for this exact purpose.TahaTesser commentedon Feb 21, 2024
I can take this issue and fix, if this sounds reasonable to you.
math1man commentedon Feb 21, 2024
Sounds good to me
Fix `ExpansionTile` Expanded/Collapsed announcement is interrupted by…
github-actions commentedon Apr 9, 2024
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 -vand a minimal reproduction of the issue.