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

Joe*_*ing 6 html accessibility screen-readers voiceover

我试图让屏幕阅读器(在本例中为 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:info@info.com">info@info.com</a>or call us at<a href="tel:1111111111">111-111-1111.</a>
</p>
Run Code Online (Sandbox Code Playgroud)

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

Joh*_*nes 5

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

<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:info@info.com">info@info.com</a>, Phone: <a href="tel:1111111111">111-111-1111.</a></p>
Run Code Online (Sandbox Code Playgroud)

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