Skip to content

Comments

Improve accessibility: mark decorative icons as not important for accessibility#5247

Merged
2dust merged 1 commit into2dust:masterfrom
Amir-yazdanmanesh:Improve-accessibility-mark-decorative
Feb 6, 2026
Merged

Improve accessibility: mark decorative icons as not important for accessibility#5247
2dust merged 1 commit into2dust:masterfrom
Amir-yazdanmanesh:Improve-accessibility-mark-decorative

Conversation

@Amir-yazdanmanesh
Copy link
Contributor

  • Add android:importantForAccessibility="no" to decorative ImageViews in About screen
  • Prevents screen readers from announcing redundant icon descriptions

Changes

app/src/main/res/layout/activity_about.xml

  • Mark 5 decorative icons as importantForAccessibility="no":
    • Source code icon
    • License icon
    • Feedback icon
    • Telegram icon
    • Privacy policy icon

Why This Approach?

These icons are decorative - they appear next to text labels that already describe the action. Following Android accessibility
guidelines
:

  • ❌ Adding contentDescription would cause redundant announcements ("Source code icon, Source code")
  • ✅ Using importantForAccessibility="no" lets screen readers skip the icon and announce only the text

Related

Continues accessibility improvements from #5105 and #5110

Testing

  • Verified with TalkBack - screen reader announces only text labels
  • No visual changes to UI

@2dust 2dust merged commit 74f7010 into 2dust:master Feb 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants