菜鸟教程小白 发表于 2022-12-11 18:38:33

iOS - 旁白 - 大量的可访问性


                                            <p><p>我无法让 iOS 配音/可访问性以货币格式读取大量金额,例如 £782284.00,这应该读作七百八万两千,二百八四,但 iOS 配音读作七八二二八四。 </p></p>
                                    <br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
                                            <p><p>达到目的的最佳方式是<a href="https://a11y-guidelines.orange.com/en/mobile/ios/development/#date-time-and-numbers" rel="noreferrer noopener nofollow">format perfectly your numbers</a>由 VoiceOver 按需发声。</p>
<p>使用<code>NumberFormatter</code> 和<code>.spellOut</code> 样式读出<code>accessibilityLabel</code> 是<a href="https://stackoverflow.com/a/55276007/3825084" rel="noreferrer noopener nofollow">important tools</a> <strong>大量调整 VoiceOver 发声</strong>。</p>
<p>我强烈建议您尝试按照应有的方式发出数字:应用程序内容<strong>必须</strong>适应 VoiceOver 用户,而不是相反。</p></p>
                                   
                                                <p style="font-size: 20px;">关于iOS - 旁白 - 大量的可访问性,我们在Stack Overflow上找到一个类似的问题:
                                                        <a href="https://stackoverflow.com/questions/41760005/" rel="noreferrer noopener nofollow" style="color: red;">
                                                                https://stackoverflow.com/questions/41760005/
                                                        </a>
                                                </p>
                                       
页: [1]
查看完整版本: iOS - 旁白 - 大量的可访问性