简体   繁体   English

防止屏幕阅读器阅读整个页面

[英]Prevent screen reader from reading the whole page

I have an HTML page that has a lot of content. 我有一个包含大量内容的HTML页面。 When I open it with a screen reader (specifically, JAWS) without doing anything but entering the URL, the screen reader starts to read all of the content on the site. 当我用屏幕阅读器(特别是JAWS)打开它而不做任何事情而不输入URL时,屏幕阅读器开始阅读网站上的所有内容。 The reader stops if I interrupt it, or if it reaches the end of the page. 如果我打断它,或者它到达页面的末尾,阅读器就会停止。 How can I prevent it from doing so, and make sure that it will read content only after interaction with the user (eg pressing arrow keys or Tab , clicking the mouse, ...) rather than automatically? 如何防止它这样做,并确保它只在与用户交互后才会读取内容(例如,按箭头键或Tab键 ,单击鼠标,......)而不是自动?

(I do not want to use aria-hidden , because I want the elements to be visible for the reader.) (我不想使用aria-hidden ,因为我希望读者可以看到这些元素。)

Details: 细节:
Browser: IE8, IE9 and Firefox v34 浏览器:IE8,IE9和Firefox v34
JAWS: V15.0 JAWS:V15.0

The page has one div that has the aria-live attribute, but it is only for one title, not for the whole page. 该页面有一个具有aria-live属性的div ,但它仅适用于一个标题,而不适用于整个页面。

This is not an HTML page issue. 这不是HTML页面问题。 That's what JAWS almost always does with HTML pages. 这就是JAWS几乎总是用HTML页面做的事情。 For example, when I went to stackoverflow.com just now, JAWS said: 例如,当我刚刚访问stackoverflow.com时,JAWS说:

page has 100 headings and 768 links //began reading the page 页面有100个标题和768个链接//开始阅读该页面

Don't worry about it. 别担心。 It's not related to your page. 它与您的页面无关。 Besides, it only takes a control key to stop it. 此外,它只需要一个控制键来阻止它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM