Skip to content

TextSpan tree accessibility improvements #36306

@mehmetf

Description

@mehmetf

Internal bug: b/137602251

We would like to be able to show a message such as:

"By continuing, you agree to our Terms of Service and Privacy Policy."

We would like behavior to existing NSAttributedString on iOS:

a) The entire text can be selected at once, and will read out "By continuing, you agree to our Terms of Service (Link) and Privacy Policy (link)

b) Swiping right in link mode* will then take you to "Terms of Service". Swiping right again should take you to "Privacy Policy".

Right now, it seems that RichText currently splits up the semantics into 4 parts by default, and will only read out "By continuing, you agree to our ". Then you have to swipe right to read "Terms of Service", then right again for "and", and then a final time for "Privacy Policy"

Metadata

Metadata

Assignees

Labels

a: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)a: qualityA truly polished experiencecustomer: money (g3)frameworkflutter/packages/flutter repository. See also f: labels.platform-androidAndroid applications specificallyplatform-iosiOS applications specificallywaiting for customer responseThe Flutter team cannot make further progress on this issue until the original reporter responds

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions