summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-speech/speak-as/speak-as-literal-punctuation-001-manual.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-speech/speak-as/speak-as-literal-punctuation-001-manual.html')
-rw-r--r--testing/web-platform/tests/css/css-speech/speak-as/speak-as-literal-punctuation-001-manual.html40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-speech/speak-as/speak-as-literal-punctuation-001-manual.html b/testing/web-platform/tests/css/css-speech/speak-as/speak-as-literal-punctuation-001-manual.html
new file mode 100644
index 0000000000..8d67b9ba30
--- /dev/null
+++ b/testing/web-platform/tests/css/css-speech/speak-as/speak-as-literal-punctuation-001-manual.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>