如何测试听力样式表/ CSS3语音? [英] How to test Aural style sheets / CSS3 speech?

查看:181
本文介绍了如何测试听力样式表/ CSS3语音?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过网站代码窥探,注意到他们使用 @media aural {} - 这提醒我它的存在。所以,我想我会玩耍...但后来意识到我不知道如何测试他们。



我不想让我的网站听起来像



如何通过浏览器测试听觉或言语,以确保听起来不错?



耳环和语音的规格:





*编辑:感谢BoltClock指出Media aural已废弃和替换/升级与CSS3语音。所以,我现在将关注CSS3。

解决方案

CSS3语音模块和CSS2听觉样式表(至少包括其中的一部分) =http://www.opera.com/docs/specs/presto24/css/properties =nofollow> Presto Opera (可能达到并包括12.10,但不是包括15和更高版本,这是基于Blink,它不实现它们)。



请注意,听觉样式表在CSS2.1和更高版本复活为CSS3语音模块;旧规范只是为了历史参考。考虑到语音模块已经是2012年的候选建议(CR),不可能有任何新的浏览器会实现听觉样式表,所以你可以忘记测试这些,只关注基于新规范的代码。 / p>

I was snooping through a websites code and noticed their use of @media aural {} - which reminded me of its existence. So, I thought I would play around...but then realised that I don't know how to test them.

I don't want my website to sound like the Schwarzeneggers having Christmas dinner….

How could I test out aural or speech through a browser to make sure it sounds ok?

The specs for both aural and speech:

*EDIT: thanks to BoltClock for pointing out that Media aural has been scrapped and replaced/upgraded with CSS3 Speech. So, I will be focussing on CSS3 now.

解决方案

The CSS3 Speech module and CSS2 aural style sheets — or at least, parts of them — are experimentally supported in Presto Opera (possibly up to and including 12.10, but not including 15 and later, which are based on Blink, which doesn't implement them at all).

Note that aural style sheets were obsoleted in CSS2.1 and later resurrected as the CSS3 Speech module; the old spec is just there for historical reference. Considering that the Speech module is already a Candidate Recommendation (CR) as of 2012, it's unlikely any new browser will ever implement aural style sheets, so you can forget about testing those and just focus on code that is based on the new spec.

这篇关于如何测试听力样式表/ CSS3语音?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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