-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Description
Use case
On the current documentation of Flutter for link property of SemanticsProperties class, the links were read as button not as links.
If non-null, indicates that this subtree represents a link.
iOS's VoiceOver provides users with a unique hint when a link is focused. Android's Talkback will announce a link hint the same way it does a button.
As documented in the Android Accessibility Help page, the design now allows links and hyperlinks to be read as links:
Design
When using TalkBack to speak text containing a hyperlink, a well implemented user interface produces an auditory icon as the hyperlinked text is spoken, and the linked text appears in the "Links" sub-menu of TalkBack's local context menu.
Previously, a GitHub ticket was filed regarding this issue but was close because it was WAI per this comment:
This was addressed in another issue also for
customer: money (g3): #36306
Link was specifically used as a button since android doesn't offer a link option in the a11y class name.
Further reference:
- https://github.com/flutter/engine/pull/12453/files
- https://developer.android.com/reference/android/widget/Button
I think this is WAI since we intentionally did this because Android doesn't have an explicit 'link'.
Proposal
Support to announce links and hyperlinks as links not as buttons in A11Y.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status