強化無障礙功能
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
Maps SDK for Android 原生支援無障礙功能。本節概略介紹使用 API 時,應用程式將會自動啟用的無障礙功能。
使用者在行動裝置上啟用 TalkBack 無障礙功能後,手指每在畫面上滑動一下,即可將焦點移到另一個 UI 元素 (除了單次滑動,也可用手指在介面上拖曳,查看其他 UI 元素)。UI 元素成為焦點時,TalkBack 就會讀出該元素的名稱。如果使用者在畫面上的任何位置輕觸兩下,系統就會根據焦點所在位置執行對應動作。
如要進一步瞭解如何強化 Android 應用程式的無障礙功能,請參閱 Android 無障礙功能說明文件。此外,我們也建議加上地圖公告說明。如要指定公告文字,請在檢視畫面中呼叫 setContentDescription()。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-06-28 (世界標準時間)。
[null,null,["上次更新時間:2024-06-28 (世界標準時間)。"],[],["The Maps SDK for Android offers built-in accessibility features. When TalkBack is enabled, single swipes or dragging moves focus between UI elements, with TalkBack announcing the focused element's name. A double-tap performs the action associated with the focused element. Developers can enhance accessibility by adding a map description via `setContentDescription()`, as per the Android accessibility documentation.\n"]]