On Android, the accessible name of a link should be its visible text.
commite3c9ffc30cdc7fb677ef2064df7329d4c47f041d
authordmazzoni <dmazzoni@chromium.org>
Tue, 28 Oct 2014 12:03:32 +0000 (28 05:03 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 28 Oct 2014 12:04:10 +0000 (28 12:04 +0000)
tree2601f624db86c5fe4997343834d4503074b2e552
parentefd4d520915131c73756eed7bd046b6356cfb731
On Android, the accessible name of a link should be its visible text.

Some sites apparently like to add a title attribute to a link - that should
never override its visible text.

BUG=384107

Review URL: https://codereview.chromium.org/673123002

Cr-Commit-Position: refs/heads/master@{#301613}
content/browser/accessibility/browser_accessibility_android.cc
content/browser/accessibility/dump_accessibility_tree_browsertest.cc
content/test/data/accessibility/a-name-calc-expected-android.txt [new file with mode: 0644]
content/test/data/accessibility/a-name-calc-expected-mac.txt [new file with mode: 0644]
content/test/data/accessibility/a-name-calc-expected-win.txt [new file with mode: 0644]
content/test/data/accessibility/a-name-calc.html [new file with mode: 0644]