mirror of
https://github.com/servo/servo.git
synced 2025-08-08 23:15:33 +01:00
Update web-platform-tests to revision b'b728032f59a396243864b0f8584e7211e3632005'
This commit is contained in:
parent
ace9b32b1c
commit
df68c4e5d1
15632 changed files with 514865 additions and 155000 deletions
|
@ -0,0 +1,36 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Test: speak-as digits</title>
|
||||
<link rel="author" title="Alexander Lehner" href="mailto:alexlehner86@gmail.com">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-speech-1/#speaking-props-speak-as">
|
||||
<meta
|
||||
name="flags"
|
||||
content="speech"
|
||||
>
|
||||
<meta
|
||||
name="assert"
|
||||
content="The digits value of speak-as makes screen readers read a number one digit at a time."
|
||||
>
|
||||
<style>
|
||||
p.speak-as-digits { speak-as: digits; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Test Case</h1>
|
||||
<p>
|
||||
The following telephone number should be read one digit at a time:
|
||||
</p>
|
||||
<p class="speak-as-digits">01 55 40 3005</p>
|
||||
<h2>Instructions for Manual Test</h2>
|
||||
<ol>
|
||||
<li>Open the website in your browser.</li>
|
||||
<li>
|
||||
Activate your screen reader (NVDA, VoiceOver, TalkBack etc.) and, in browse mode, navigate to the paragraph following the first heading.
|
||||
</li>
|
||||
<li>
|
||||
The screen reader should read the telephone number one digit at a time: zero one five five four zero three zero zero five
|
||||
</li>
|
||||
</ol>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,36 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Test: speak-as digits</title>
|
||||
<link rel="author" title="Alexander Lehner" href="mailto:alexlehner86@gmail.com">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-speech-1/#speaking-props-speak-as">
|
||||
<meta
|
||||
name="flags"
|
||||
content="speech"
|
||||
>
|
||||
<meta
|
||||
name="assert"
|
||||
content="The digits value of speak-as makes screen readers read a number one digit at a time."
|
||||
>
|
||||
<style>
|
||||
p.speak-as-digits { speak-as: digits; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Test Case</h1>
|
||||
<p>
|
||||
The following bank account number (IBAN) should be read one digit at a time:
|
||||
</p>
|
||||
<p class="speak-as-digits">AT20 4200 2950 9100 8000</p>
|
||||
<h2>Instructions for Manual Test</h2>
|
||||
<ol>
|
||||
<li>Open the website in your browser.</li>
|
||||
<li>
|
||||
Activate your screen reader (NVDA, VoiceOver, TalkBack etc.) and, in browse mode, navigate to the paragraph following the first heading.
|
||||
</li>
|
||||
<li>
|
||||
The screen reader should read the bank account number one digit at a time: two zero four two zero zero two nine five zero nine one zero zero eight zero zero zero
|
||||
</li>
|
||||
</ol>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,40 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Test: speak-as literal-punctuation</title>
|
||||
<link rel="author" title="Alexander Lehner" href="mailto:alexlehner86@gmail.com">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-speech-1/#speaking-props-speak-as">
|
||||
<meta
|
||||
name="flags"
|
||||
content="speech"
|
||||
>
|
||||
<meta
|
||||
name="assert"
|
||||
content="The literal-punctuation value of speak-as makes screen readers announce punctuation."
|
||||
>
|
||||
<style>
|
||||
p.speak-as-literal-punctuation { speak-as: literal-punctuation; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Test Case</h1>
|
||||
<p>
|
||||
The punctuation in the following text should be announced by screen readers:
|
||||
</p>
|
||||
<p class="speak-as-literal-punctuation">class MyClass { myProperty = 1; }</p>
|
||||
<h2>Instructions for Manual Test</h2>
|
||||
<ol>
|
||||
<li>Open the website in your browser.</li>
|
||||
<li>
|
||||
Activate your screen reader (NVDA, VoiceOver, TalkBack etc.).
|
||||
</li>
|
||||
<li>
|
||||
Set verbosity preferences of the screen reader to default setting, which ignores most punctuation (e.g. comma, period, parentheses).
|
||||
</li>
|
||||
<li>In the screen reader's browse mode, navigate to the paragraph following the first heading.</li>
|
||||
<li>
|
||||
The screen reader should still announce all punctuation (parentheses, semicolon etc.) in the paragraph.
|
||||
</li>
|
||||
</ol>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,36 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Test: speak-as spell-out</title>
|
||||
<link rel="author" title="Alexander Lehner" href="mailto:alexlehner86@gmail.com">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-speech-1/#speaking-props-speak-as">
|
||||
<meta
|
||||
name="flags"
|
||||
content="speech"
|
||||
>
|
||||
<meta
|
||||
name="assert"
|
||||
content="The spell-out value of speak-as makes screen readers spell each single letter."
|
||||
>
|
||||
<style>
|
||||
p.speak-as-spell-out { speak-as: spell-out; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Test Case</h1>
|
||||
<p>
|
||||
The following abbreviation should be read one letter at a time:
|
||||
</p>
|
||||
<p class="speak-as-spell-out">way</p>
|
||||
<h2>Instructions for Manual Test</h2>
|
||||
<ol>
|
||||
<li>Open the website in your browser.</li>
|
||||
<li>
|
||||
Activate your screen reader (NVDA, VoiceOver, TalkBack etc.) and, in browse mode, navigate to the paragraph following the first heading.
|
||||
</li>
|
||||
<li>
|
||||
The screen reader should spell the abbreviation "way" as W, A, Y.
|
||||
</li>
|
||||
</ol>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue