屏幕阅读器在到达锚标签时停止读取段落

问题描述 投票:3回答:1

我试图让屏幕阅读器(在这种情况下为VoiceOver)连续读取一段文本。 <p>内部的文本由屏幕阅读器读取,但一旦到达第一个<a>标签就会停止。然后,用户必须通过两个链接进行制表,以便将<a>标签内的文本读取给他们。

<p>
  Thank you for visiting this website. If you experience any difficulty in accessing this website please email us at <a href="mailto:[email protected]">[email protected]</a>or call us at<a href="tel:1111111111">111-111-1111.</a>
</p>

是否有更易于访问的方式向用户提供信息?

html accessibility voiceover screen-readers
1个回答
3
投票

正如我在对该问题的评论中所写的那样,如果你坚持在句子中没有链接(从而读取中断),我会建议一个类似于此的解决方案:

<p>Thank you for visiting this website. If you experience any difficulty in accessing this website please contact us using the mail and phone links supplied below</p>

<p>E-Mail: <a href="mailto:[email protected]">[email protected]</a>, Phone: <a href="tel:1111111111">111-111-1111.</a></p>

(不过,我会保持原样。屏幕阅读器用户习惯了)

© www.soinside.com 2019 - 2024. All rights reserved.