-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Upstream bug: https://bugs.webkit.org/show_bug.cgi?id=246524
Date: 2022-10-17
Reported by: Martin Jones
Related to: NA
Overview
Load the HTML page attached and use the VO (control+option) + A shortcut to instruct VoiceOver to read out the content with Safari Version 16.0 (17614.1.25.9.10, 17614)
Reduced test case
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<main>
<p>Paragraph text with span content at the end<span>?</span></p>
<p>Paragraph text with span content at the end<span>??</span></p>
<p>Paragraph text with span content at the end<span>???</span></p>
<p><span>...</span>Paragraph text with span content at the beginning</p>
<p><span>....</span>Paragraph text with span content at the beginning</p>
</main>
</body>
</html>Expected result
Each word in the paragraph is read out in full
Actual result
Depending on the placement of the span tag and the number of characters it contains, you will get a different result, the attached video demonstrates this.
It does seem possible to predict the actual result based on the placement of the span tag and the number of characters it contains, for example:
When the span content is at the end, the beginning of the sentence is impacted:
<p>Paragraph text with span content at the end<span>?</span></p>
VoiceOver will read out "P aragraph text with content at the end ?"
The number of characters in the span element will impact what is read out by VoiceOver.
<p>Paragraph text with span content at the end<span>???</span></p>
VoiceOver will read out "Par agraph text with content at the end ???"
When the span content is at the beginning, the end of the sentence is impacted:
<p><span>...</span>Paragraph text with span content at the beginning</p>
VoiceOver will read out "... Paragraph text with span content at the begin ning"
safari-p-span-vo-tests.mov
Metadata
Metadata
Assignees
Type
Projects
Status