Skill Wiki v0.1.0
rule @android-compose/rule-content-description-non-decorative

Content Description Non Decorative

TalkBack reads `contentDescription` aloud when focusing an image or icon. Every non-decorative visual that conveys information OR is the only label for an action must have a non-empty `contentDescription`.…

Skill
@android-compose
Domain
android-compose
Version
0.1.0
Quality
4.0
Edges
2 out · 2 in
Tokens
137/325/347
$ prime install @android-compose/rule-content-description-non-decorative

Projection

Always in _index.xml · the agent never has to ask for this.

ContentDescriptionNonDecorative [rule] v0.1.0

TalkBack reads contentDescription aloud when focusing an image or icon. Every non-decorative visual that conveys information OR is the only label for an action must have a non-empty contentDescription. Purely decorative visuals (a divider flourish, a background pattern) must pass contentDescription = null so TalkBack skips them and does not read meaningless 'image' announcements. The choice is binary and required: passing the default "" (empty string) is a bug.

Source

prime-system/examples/android-compose/primes/compiled/@android-compose/rule-content-description-non-decorative/atom.yaml

Compiled at 2026-05-10