Talkback reading the title attribute

From Level Access Web Labs
Jump to navigation Jump to search

Talkback on Android devices has in recent years added the title attribute as a readable tag in the Accessibility tree. It is not a recommended way to contribute to accessible design, but however another nuance to test for when testing Talkback web applications, aka Android mobile website testing.

How it Reads

If an aria-label and a title are present Talkback reads as follows:

  • Aria-label then title

Example

This button reads: "This aria-label reads first button. This title reads second"


If title only is present Talkback reads as follows:

  • Inner HTML text then title

Example

This button reads: "Test example 2 button. This title reads second"


What to do

Testers should advise Developers to remove the title attribute if it repeats the inner HTML text or aria-label specifically when doing Talkback Web Android testing.