Accessibility
iOS offers extensive accessibility features for users with vision loss, hearing loss, and other disabilities. Most UIKit-based apps can be made accessible with very little effort, allowing more people to use your app while providing an equally engaging experience for all.
iOS為用戶提供大量可訪問性的特性,如失明,失聰,或者其他殘疾凶掰。大部分基于UIKit的app用少量的努力就能支持可訪問性,當(dāng)你為所有人提供同樣迷人的體驗(yàn)時(shí)种呐,會(huì)有更多用戶愿意用你的app
Provide alternative text labels for images, icons, and interface elements.Alternative text labels aren’t visible onscreen, but they let VoiceOver audibly describe what's onscreen, making navigation easier for people with visual impairments.
為圖片形入,圖標(biāo)乞榨,界面元素提供可選的文本標(biāo)簽熔酷」陆簦可選的文本標(biāo)簽在屏幕上不是可見的,但是讓它們可聽見從而知道什么在屏幕上拒秘,對(duì)于有視覺障礙的人是更好的導(dǎo)航号显。
Respond to accessibility preferences.If your app uses UIKit to implement its user interface, text and interface elements automatically adapt to certain accessibility preferences, such as bold and larger text. Your app should also check and respond to accessibility preferences when appropriate, such as when the option to reduce motion is enabled. Apps implementing custom fonts should attempt to match the accessibility behavior of the system fonts.
對(duì)可訪問性偏好應(yīng)答。如果你的app用UIKit來實(shí)現(xiàn)用戶界面躺酒,文本和界面元素自動(dòng)適應(yīng)某一可訪問性偏好押蚤,例如加粗或更大的文本。你的app應(yīng)該也適當(dāng)?shù)貦z測(cè)和應(yīng)答可訪問性偏好羹应,例如激動(dòng)減少動(dòng)作選項(xiàng)時(shí)揽碘。Apps實(shí)現(xiàn)自定義字體應(yīng)該嘗試匹配系統(tǒng)字體的可訪問性。
Test your app with accessibility features.In addition to text and motion changes, accessibility options can change contrast, invert colors, reduce transparency, and more. Enable these settings and observe how your app will look and behave for people who enable these features.
測(cè)試你的app的可訪問性特性园匹。除了文本和動(dòng)作的改變雳刺,可訪問性選項(xiàng)還可以改變對(duì)比,調(diào)整顏色偎肃,減少透明度煞烫,及其他。激活這些設(shè)置然后作為用戶觀察你的app外觀和行為累颂。
Include closed captions and audio descriptions.Closed captions allow the deaf and hard-of-hearing to perceive spoken dialogue and other audible content in videos. Audio descriptions provide spoken narration of important video content for the visually impaired.
加入字幕和語音描述。字幕讓聾子和聽力障礙的人理解在視頻文件中的口語對(duì)話和其他語音內(nèi)容。語音描述為那些有視覺障礙的人提供重要視頻文件內(nèi)容的口語描述紊馏。
For more information, seeiOS AccessibilityandAccessibility?Programming?Guide for iOS.
https://developer.apple.com/ios/human-interface-guidelines/interaction/accessibility/