Duplicate speakable text

This test checks if multiple elements have the same label.

  • If one of them is clickable, the result type is warning.
  • If none of them are clickable, the result type is info.

It can be difficult for the user to distinguish elements with the same label.

Solutions

  • Carefully consider the text labels in the interface. Each element should have a unique text label that describes its visual meaning, purpose, or associated action.
  • Pay particular attention to layouts that are reused in an interface. For example, layouts used as rows within ListViews or RecyclerViews are often inflated repeatedly. In such a case, the repeated labels should include additional text with more identifying information or context for the description of the item.
  • Accessibility name

Sources