gpt4 book ai didi

ios - 寻找 iOS VoiceOver 辅助功能指南 : when I tap on text, 它应该说多少?

转载 作者:行者123 更新时间:2023-12-01 17:46:47 29 4
gpt4 key购买 nike

我正在寻找任何具体指南(来自 Apple 或其他地方,而不是意见),当我在我正在开发的应用程序中点击某些文本时,我应该让 VoiceOver 阅读多少文本。

当我点击标题时,它应该只读取标题,还是应该读取该标题下方的部分?当我点击一个段落时,它应该阅读标题,然后是包含该段落的整个部分吗?在什么情况下,语音文本应该提供比应用程序实际显示的更多或不同的信息?

(我不是在问它做什么,我是在问它应该做什么,因为作为开发人员,我可以将项目的 accessibilityLabel 设置为我想要的尽可能多或尽可能少的文本。)

我在 https://developer.apple.com/library/archive/documentation/UserExperience/Conceptual/iPhoneAccessibility/Making_Application_Accessible/Making_Application_Accessible.html#//apple_ref/doc/uid/TP40008785-CH102-SW5 中没有看到任何相关内容.

最佳答案

您的链接似乎很清楚,尤其是关于 Supply Accurate and Helpful Attribute Information 的部分除其他细节外,其中包括以下内容:

A good way to determine what a label should convey is to think about what a sighted user infers about your application just by looking at it. If you’ve designed a good user interface, sighted users should know what a control or view does in the current application context by reading its title or understanding its icon. This is the information you need to make available to VoiceOver users in the label attribute.

If you provide a custom control or view, or if you display a custom icon in a standard control or view, you need to provide a label that:

  • Very briefly describes the element. Ideally, the label consists of a single word, such as Add, Play, Delete, Search, Favorites, or Volume. Strive to design your application so that a single word identifies an element and makes its usage obvious in the current context. Sometimes, however, it might be necessary to use a brief phrase to properly identify an element. When this is the case, create a very short phrase, such as “Play music,” “Add name,” or “Add to event.”
  • Does not include the type of the control or view. The type information is contained in the traits attribute of the element and should never be repeated in the label. For example, if you include the control type in the label of an Add button, VoiceOver users hear “Add button button” every time they access that control. This experience would quickly become annoying and might motivate users to stop using your application.
  • Begins with a capitalized word. This helps VoiceOver read the label with the appropriate inflection.
  • Does not end with a period. The label is not a sentence and therefore should not end with a period.
  • Is localized. Be sure to make your application available to as wide an audience as possible by localizing all strings, including accessibility attribute strings. In general, VoiceOver speaks in the language that the user specifies in International settings.


每个可点击 View 都应提供自己的 accessibilityLabel .如果用户可以点击标题并且用户可以点击标题下方的部分,那么点击标题应该只是阅读标题,点击标题下面的部分应该只是阅读标题下面的部分。

关于ios - 寻找 iOS VoiceOver 辅助功能指南 : when I tap on text, 它应该说多少?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50951988/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com