-
Notifications
You must be signed in to change notification settings - Fork 30.5k
Update semantics header property that it isn't supported on Android. #183111
Copy link
Copy link
Closed
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)Accessibility, e.g. VoiceOver or TalkBack. (aka a11y)d: api docsIssues with https://api.flutter.dev/Issues with https://api.flutter.dev/frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.platform-androidAndroid applications specificallyAndroid applications specificallyteam-accessibilityOwned by Framework Accessibility team (i.e. responsible for accessibility code in flutter/flutter)Owned by Framework Accessibility team (i.e. responsible for accessibility code in flutter/flutter)triaged-accessibilityTriaged by Framework Accessibility teamTriaged by Framework Accessibility team
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)Accessibility, e.g. VoiceOver or TalkBack. (aka a11y)d: api docsIssues with https://api.flutter.dev/Issues with https://api.flutter.dev/frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.platform-androidAndroid applications specificallyAndroid applications specificallyteam-accessibilityOwned by Framework Accessibility team (i.e. responsible for accessibility code in flutter/flutter)Owned by Framework Accessibility team (i.e. responsible for accessibility code in flutter/flutter)triaged-accessibilityTriaged by Framework Accessibility teamTriaged by Framework Accessibility team
Type
Fields
Give feedbackNo fields configured for issues without a type.
Use case
Just use the
Semanticswidget with theheaderproperty.Since the Flutter 3.38.0 update, TalkBack on Android no longer recognizes the header when only
header: trueis set.This does not work on Android:
This does work on Android:
On iOS, both variants are detected as a header by the screen reader.
Proposal
When you provide the
headerproperty in theSemanticswidget, it should also work on Android.It’s quite strange that it only works on iOS, while on Android I have to additionally use
headingLevelfor it to be recognized correctly.This PR attempted to fix the issue but was closed:
#179681
Could you clarify why it was closed?