summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/4/changes
diff options
context:
space:
mode:
authorsallyyuen <sallyyuen@google.com>2019-05-03 17:51:29 -0700
committerSally Yuen <sallyyuen@google.com>2019-05-28 22:56:12 +0000
commit8f223c591e8d0844fd169a0a35716882899e1f56 (patch)
treed295d3f3a376c01dc270327b17f004cd2786240c /docs/html/sdk/api_diff/4/changes
parentcaaddf135bd17da58005692a6a017ba912684576 (diff)
Set the a11yNodeInfo unclickable if the TextView has a
LinkMovementMethod and there are no onClickListeners or onLongClickListeners A view with links shouldn't be exposing itself as clickable to an a11yService if only the links are clickable. If a movement method is set, the view turns both clickable and long-clickable. This has brought a number of bugs where an a11yService will notify users the element is clickable but performing the action does nothing. We can't delete years-old code without breaking a lot of things, so try to minimize the consequences by adding logic in onInitializeA11yNodeInfo. Add checks so a view with links and no click listeners will be made un-clickable. Bug: b/131758159 Test: Tested on several bugs with TalkBack, CtsAccessibilityTests, CtsTextTestCases, CtsWidgetTestCases:TextViewTest Change-Id: I53b695139ecea2c34d125e7077fd2077593adbe1
Diffstat (limited to 'docs/html/sdk/api_diff/4/changes')
0 files changed, 0 insertions, 0 deletions