Compose のユーザー補助
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
アプリにユーザー補助機能を追加して、画面に表示される内容を、特定のニーズを持つユーザーに適した形式に変換します。わずかな作業でアプリのリーチと汎用性を高める方法をご覧ください。
要点
- ユーザー補助サービスが何をすべきかを知ることができるように、視覚要素の説明を含めます。コンテンツの説明にはローカライズされた文字列リソースを使用して、ユーザーが自分の言語で聞くことができます。
- 親コンテナにセマンティクス モディファイタを追加して、ユーザー補助サービスの選択動作を改善しました。
- リストアイテムにカスタム アクションを追加するには、現在のステータスに基づいてアクションの名前を定義し、セマンティクス修飾子を追加して
customActions
プロパティを設定し、追加のセマンティクスを消去します。
このガイドを含むコレクション
このガイドは、Android 開発の幅広い目標を網羅する、厳選されたクイックガイド コレクションの一部です。
表示テキスト
テキストは UI の主要な構成要素です。アプリでテキストを表示して優れたユーザー エクスペリエンスを提供するさまざまな方法を学びます。
画像を表示する
明るく魅力的なビジュアルを使用して、Android アプリの外観を美しくする手法について学びます。
Compose の基本
この動画シリーズでは、さまざまな Compose API を紹介し、利用可能な API とその使用方法を簡単に説明します。
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2025-02-06 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 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)"]]