In this Kotlin file, I have a custom UI component (Compose or View).
Add the necessary code to make it accessible to screen readers.
Ensure proper use of accessibility events and provide relevant content descriptions or labels.
Implement state descriptions if the component has different states.
$CURRENT_FILE
[[["容易理解","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-08-21 (世界標準時間)。"],[],[],null,["# Custom component accessibility\n\nMake your UI accessible to screen readers.\n\n*** ** * ** ***\n\n In this Kotlin file, I have a custom UI component (Compose or View).\n Add the necessary code to make it accessible to screen readers.\n Ensure proper use of accessibility events and provide relevant content descriptions or labels.\n Implement state descriptions if the component has different states.\n\n $CURRENT_FILE\n\n| To run this prompt in Android Studio, click **Gemini** in the sidebar and paste it in the chat field. \n| To save and retrieve prompts in the Studio IDE, go to **Settings \\\u003e Gemini \\\u003e Prompt Library**.\n\n*** ** * ** ***"]]