diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
commit | 43a97878ce14b72f0981164f87f2e35e14151312 (patch) | |
tree | 620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/tests/css/css-speech/speak-as/speak-as-literal-punctuation-001-manual.html | |
parent | Initial commit. (diff) | |
download | firefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz firefox-43a97878ce14b72f0981164f87f2e35e14151312.zip |
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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.html | 40 |
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> |