最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

swift - iOS AccessibilityTraits is read first and AccessibilityLabel is read second - Stack Overflow

programmeradmin0浏览0评论

A custom component (UIControl subclass) in a feature that I'm working on is read by VoiceOver like this: "Close - Button" which is ok, but for some reason a QA engineer tested the same component with VoiceOver and is read: "Button - Close".

Note: Custom component's accessibilityTraits is set to be .button

We want AccessibilityLabel to be read first and AccessibilityTraits second.

发布评论

评论列表(0)

  1. 暂无评论