For AI agents and LLMs: a machine-readable index is available at llms.txt. A plain-Markdown version of any documentation page is available by appending .md to its URL.
Skip to main content

Missing View Accessibility

Meaningful Android views must be accessible to assistive technologies rather than being invisible to the accessibility framework.

WCAG Reference

Maps to: WCAG 4.1.2 Name, Role, Value | Applies to: WCAG 2.0, WCAG 2.1, WCAG 2.2 Introduced in: WCAG 2.0 | Level: A | Read the official specification →

What this rule checks​

The scanner flags views that carry meaningful content or functionality but are marked as importantForAccessibility="no" or have focusable="false" when they should be focusable.

Why it matters​

When a view is excluded from the accessibility tree, TalkBack users cannot perceive or interact with it. If the view carries meaningful information or actions, those users lose access entirely.

Common failure patterns​

  • setting android:importantForAccessibility="no" on views that contain meaningful text or actions
  • container layouts that suppress child accessibility without individual evaluation
  • custom views that do not call sendAccessibilityEvent after state changes

Remediation guidance​

  • set importantForAccessibility="yes" on views that carry meaningful content
  • only mark truly decorative elements as importantForAccessibility="no"
  • ensure custom views implement AccessibilityDelegate or override accessibility methods
  • test with TalkBack to confirm all meaningful elements are announced

Terminal First Testing With Kane CLI

Natural language browser & mobile app tests right from terminal.

×
Schedule Your Personal Demo
Kane CLI terminal

Help and Support

Related Articles