电话号码和屏幕阅读器 [英] Telephone numbers and screen readers

查看:147
本文介绍了电话号码和屏幕阅读器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我目前使用的是NVDA和Firefox,并且有以下电话号码:

 < p> 01234 567890< / p> 

这读作


零一二三四五六七八零九零

听众对此非常困惑。我想要一些指定屏幕阅读器应该拼出数字的方式,如


零一二三四五六七八九零



解决方案

我不知道屏幕阅读器是否支持这些,在理想的世界中)他们应该。

CSS:Aural




  • CSS 2.1: speak-numeral:digits;


    将数字说成个人数字。因此,237被称为Two Three Seven。


  • CSS语音模块(CR): speak-as:digits;


    每次说出一位数字,例如说十二为one two,31为three one。




HTML: tel URI



RFC 3996:电话号码的电话URI



>

 < p> 01234 567890< / p> 

您可能会喜欢

 < a href =tel:01234-567890> 01234 567890< / a> 



HTML:词汇表




Is there a standard way to make screen readers spell out numbers?

I am currently using NVDA and Firefox and have the following telephone number

<p>01234 567890</p>

This is read as

Zero one two three four five hundred and sixty seven thousand eight hundred and ninety

This is quite confusing to the listener. I would like some way of specifying that the screen reader should spell out the number like

Zero one two three four five six seven eight nine zero

解决方案

I don’t know if (or which) screen readers support these, but (in an ideal world) they should.

CSS: Aural

  • CSS 2.1: speak-numeral: digits;

    Speak the numeral as individual digits. Thus, "237" is spoken "Two Three Seven".

  • CSS Speech Module (CR): speak-as: digits;

    Speak numbers one digit at a time, for instance, "twelve" would be spoken as "one two", and "31" as "three one".

HTML: tel URI

RFC 3996: The tel URI for Telephone Numbers

So instead of

<p>01234 567890</p>

you would have something like

<a href="tel:01234-567890">01234 567890</a>

HTML: Vocabularies

这篇关于电话号码和屏幕阅读器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆