Accessibility in Compose
Stay organized with collections
Save and categorize content based on your preferences.
Add accessibility features to your app, transforming what's shown on screen to a
more fitting format for users with specific needs. See how to increase your
app's reach and versatility with a small amount of work.
Key points
- Include descriptions of the visual elements so the accessibility services
know what to do. Use a localized string resource for content descriptions so
users can hear them in their own language.
- Add a semantics modifier to the parent container to improve the selection
behavior of the accessibility service.
- To add a custom action to a list item: define the name of the action based
on the current status, add a semantics modifier and set the
customActions
property, and clear any additional semantics.
Collections that contain this guide
This guide is part of these curated Quick Guide collections that cover
broader Android development goals:
Display text
Text is a central piece of any UI. Find out different ways
you can present text in your app to provide a delightful user
experience.
Display images
Discover techniques for using bright, engaging visuals to
give your Android app a beautiful look and feel.
Compose basics
This series of videos introduces various Compose APIs,
quickly showing you what’s available and how to use them.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-06 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-06 UTC."],[],[],null,["# Accessibility in Compose\n\n\u003cbr /\u003e\n\nAdd accessibility features to your app, transforming what's shown on screen to a\nmore fitting format for users with specific needs. See how to increase your\napp's reach and versatility with a small amount of work. \n\nKey points\n----------\n\n- Include descriptions of the visual elements so the accessibility services know what to do. Use a localized string resource for content descriptions so users can hear them in their own language.\n- Add a semantics modifier to the parent container to improve the selection behavior of the accessibility service.\n- To add a custom action to a list item: define the name of the action based on the current status, add a semantics modifier and set the [`customActions`](/reference/kotlin/androidx/compose/ui/semantics/package-summary#(androidx.compose.ui.semantics.SemanticsPropertyReceiver).customActions()) property, and clear any additional semantics.\n\nCollections that contain this guide\n-----------------------------------\n\nThis guide is part of these curated Quick Guide collections that cover\nbroader Android development goals: \n\n### Display text\n\nText is a central piece of any UI. Find out different ways you can present text in your app to provide a delightful user experience. \n[Quick guide collection](/develop/ui/compose/quick-guides/collections/display-text) \n\n### Display images\n\nDiscover techniques for using bright, engaging visuals to give your Android app a beautiful look and feel. \n[Quick guide collection](/develop/ui/compose/quick-guides/collections/display-images) \n\n### Compose basics\n\nThis series of videos introduces various Compose APIs, quickly showing you what's available and how to use them. \n[Quick guide collection](/develop/ui/compose/quick-guides/collections/compose-basics) \n\nHave questions or feedback\n--------------------------\n\nGo to our frequently asked questions page and learn about quick guides or reach out and let us know your thoughts. \n[Go to FAQ](/quick-guides/faq) [Leave feedback](https://issuetracker.google.com/issues/new?component=1573691&template=1993320)"]]