From 0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:47:29 +0200 Subject: Adding upstream version 115.8.0esr. Signed-off-by: Daniel Baumann --- testing/web-platform/tests/css/css-speech/META.yml | 3 ++ .../tests/css/css-speech/age-declarations-001.html | 28 +++++++++++++++ .../css-speech/age-declarations-female-001.html | 28 +++++++++++++++ .../css/css-speech/age-declarations-male-001.html | 28 +++++++++++++++ .../css-speech/age-declarations-neutral-001.html | 28 +++++++++++++++ .../generic-gender-declarations-001.html | 25 ++++++++++++++ .../css-speech/no-voice-family-specified-001.html | 16 +++++++++ .../speak-as/speak-as-digits-001-manual.html | 36 +++++++++++++++++++ .../speak-as/speak-as-digits-002-manual.html | 36 +++++++++++++++++++ .../speak-as-literal-punctuation-001-manual.html | 40 ++++++++++++++++++++++ .../speak-as/speak-as-spell-out-001-manual.html | 36 +++++++++++++++++++ .../tests/css/css-speech/voice-family-integer.html | 22 ++++++++++++ 12 files changed, 326 insertions(+) create mode 100644 testing/web-platform/tests/css/css-speech/META.yml create mode 100644 testing/web-platform/tests/css/css-speech/age-declarations-001.html create mode 100644 testing/web-platform/tests/css/css-speech/age-declarations-female-001.html create mode 100644 testing/web-platform/tests/css/css-speech/age-declarations-male-001.html create mode 100644 testing/web-platform/tests/css/css-speech/age-declarations-neutral-001.html create mode 100644 testing/web-platform/tests/css/css-speech/generic-gender-declarations-001.html create mode 100644 testing/web-platform/tests/css/css-speech/no-voice-family-specified-001.html create mode 100644 testing/web-platform/tests/css/css-speech/speak-as/speak-as-digits-001-manual.html create mode 100644 testing/web-platform/tests/css/css-speech/speak-as/speak-as-digits-002-manual.html create mode 100644 testing/web-platform/tests/css/css-speech/speak-as/speak-as-literal-punctuation-001-manual.html create mode 100644 testing/web-platform/tests/css/css-speech/speak-as/speak-as-spell-out-001-manual.html create mode 100644 testing/web-platform/tests/css/css-speech/voice-family-integer.html (limited to 'testing/web-platform/tests/css/css-speech') diff --git a/testing/web-platform/tests/css/css-speech/META.yml b/testing/web-platform/tests/css/css-speech/META.yml new file mode 100644 index 0000000000..3b5bead823 --- /dev/null +++ b/testing/web-platform/tests/css/css-speech/META.yml @@ -0,0 +1,3 @@ +spec: https://drafts.csswg.org/css-speech/ +suggested_reviewers: + - musingvirtual diff --git a/testing/web-platform/tests/css/css-speech/age-declarations-001.html b/testing/web-platform/tests/css/css-speech/age-declarations-001.html new file mode 100644 index 0000000000..a1437d8a22 --- /dev/null +++ b/testing/web-platform/tests/css/css-speech/age-declarations-001.html @@ -0,0 +1,28 @@ + + + + CSS Test: voice-family age keywords + + + + + + + + + + + + + +

This sentence should be read in a child's voice.

+

This sentence should be read in a young voice.

+

This sentence should be read in a old voice.

+ + + diff --git a/testing/web-platform/tests/css/css-speech/age-declarations-female-001.html b/testing/web-platform/tests/css/css-speech/age-declarations-female-001.html new file mode 100644 index 0000000000..58dfd0e5cd --- /dev/null +++ b/testing/web-platform/tests/css/css-speech/age-declarations-female-001.html @@ -0,0 +1,28 @@ + + + + CSS Test: voice-family age keywords + femal + + + + + + + + + + + + + +

This sentence should be read in a child's female voice.

+

This sentence should be read in a young female voice.

+

This sentence should be read in a old female voice.

+ + + diff --git a/testing/web-platform/tests/css/css-speech/age-declarations-male-001.html b/testing/web-platform/tests/css/css-speech/age-declarations-male-001.html new file mode 100644 index 0000000000..8228470268 --- /dev/null +++ b/testing/web-platform/tests/css/css-speech/age-declarations-male-001.html @@ -0,0 +1,28 @@ + + + + CSS Test: voice-family age keywords + male + + + + + + + + + + + + + +

This sentence should be read in a child's male voice.

+

This sentence should be read in a young male voice.

+

This sentence should be read in a old male voice.

+ + + diff --git a/testing/web-platform/tests/css/css-speech/age-declarations-neutral-001.html b/testing/web-platform/tests/css/css-speech/age-declarations-neutral-001.html new file mode 100644 index 0000000000..36bf6298c3 --- /dev/null +++ b/testing/web-platform/tests/css/css-speech/age-declarations-neutral-001.html @@ -0,0 +1,28 @@ + + + + CSS Test: voice-family age keywords + neutral + + + + + + + + + + + + + +

This sentence should be read in a child's neutral voice.

+

This sentence should be read in a young neutral voice.

+

This sentence should be read in a old neutral voice.

+ + + diff --git a/testing/web-platform/tests/css/css-speech/generic-gender-declarations-001.html b/testing/web-platform/tests/css/css-speech/generic-gender-declarations-001.html new file mode 100644 index 0000000000..49de2a9936 --- /dev/null +++ b/testing/web-platform/tests/css/css-speech/generic-gender-declarations-001.html @@ -0,0 +1,25 @@ + + + + CSS Test: voice-family generic gender keywords + + + + + + + + + + + +

This sentence should be read in a male voice.

+

This sentence should be read in a female voice.

+

This sentence should be read in a "neutral" voice.

+ + + diff --git a/testing/web-platform/tests/css/css-speech/no-voice-family-specified-001.html b/testing/web-platform/tests/css/css-speech/no-voice-family-specified-001.html new file mode 100644 index 0000000000..e59367af63 --- /dev/null +++ b/testing/web-platform/tests/css/css-speech/no-voice-family-specified-001.html @@ -0,0 +1,16 @@ + + + + CSS Test: voice-family not specified + + + + + + + + +

This sentence should be read in the user's preferred voice.

+ + + diff --git a/testing/web-platform/tests/css/css-speech/speak-as/speak-as-digits-001-manual.html b/testing/web-platform/tests/css/css-speech/speak-as/speak-as-digits-001-manual.html new file mode 100644 index 0000000000..afbc0c94a1 --- /dev/null +++ b/testing/web-platform/tests/css/css-speech/speak-as/speak-as-digits-001-manual.html @@ -0,0 +1,36 @@ + + + + CSS Test: speak-as digits + + + + + + + +

Test Case

+

+ The following telephone number should be read one digit at a time: +

+

01 55 40 3005

+

Instructions for Manual Test

+
    +
  1. Open the website in your browser.
  2. +
  3. + Activate your screen reader (NVDA, VoiceOver, TalkBack etc.) and, in browse mode, navigate to the paragraph following the first heading. +
  4. +
  5. + The screen reader should read the telephone number one digit at a time: zero one five five four zero three zero zero five +
  6. +
+ + diff --git a/testing/web-platform/tests/css/css-speech/speak-as/speak-as-digits-002-manual.html b/testing/web-platform/tests/css/css-speech/speak-as/speak-as-digits-002-manual.html new file mode 100644 index 0000000000..84ac15687c --- /dev/null +++ b/testing/web-platform/tests/css/css-speech/speak-as/speak-as-digits-002-manual.html @@ -0,0 +1,36 @@ + + + + CSS Test: speak-as digits + + + + + + + +

Test Case

+

+ The following bank account number (IBAN) should be read one digit at a time: +

+

AT20 4200 2950 9100 8000

+

Instructions for Manual Test

+
    +
  1. Open the website in your browser.
  2. +
  3. + Activate your screen reader (NVDA, VoiceOver, TalkBack etc.) and, in browse mode, navigate to the paragraph following the first heading. +
  4. +
  5. + 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 +
  6. +
+ + 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 @@ + + + + CSS Test: speak-as literal-punctuation + + + + + + + +

Test Case

+

+ The punctuation in the following text should be announced by screen readers: +

+

class MyClass { myProperty = 1; }

+

Instructions for Manual Test

+
    +
  1. Open the website in your browser.
  2. +
  3. + Activate your screen reader (NVDA, VoiceOver, TalkBack etc.). +
  4. +
  5. + Set verbosity preferences of the screen reader to default setting, which ignores most punctuation (e.g. comma, period, parentheses). +
  6. +
  7. In the screen reader's browse mode, navigate to the paragraph following the first heading.
  8. +
  9. + The screen reader should still announce all punctuation (parentheses, semicolon etc.) in the paragraph. +
  10. +
+ + diff --git a/testing/web-platform/tests/css/css-speech/speak-as/speak-as-spell-out-001-manual.html b/testing/web-platform/tests/css/css-speech/speak-as/speak-as-spell-out-001-manual.html new file mode 100644 index 0000000000..5643350e41 --- /dev/null +++ b/testing/web-platform/tests/css/css-speech/speak-as/speak-as-spell-out-001-manual.html @@ -0,0 +1,36 @@ + + + + CSS Test: speak-as spell-out + + + + + + + +

Test Case

+

+ The following abbreviation should be read one letter at a time: +

+

way

+

Instructions for Manual Test

+
    +
  1. Open the website in your browser.
  2. +
  3. + Activate your screen reader (NVDA, VoiceOver, TalkBack etc.) and, in browse mode, navigate to the paragraph following the first heading. +
  4. +
  5. + The screen reader should spell the abbreviation "way" as W, A, Y. +
  6. +
+ + diff --git a/testing/web-platform/tests/css/css-speech/voice-family-integer.html b/testing/web-platform/tests/css/css-speech/voice-family-integer.html new file mode 100644 index 0000000000..40d7bf55b4 --- /dev/null +++ b/testing/web-platform/tests/css/css-speech/voice-family-integer.html @@ -0,0 +1,22 @@ + + + + CSS Speech: Integer Attribute + + + + + + + + + + +

This should be read in one female voice.

+ +

This should be read in a different female voice.

+ + -- cgit v1.2.3