diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /testing/web-platform/tests/css/css-counter-styles/counter-style-at-rule/speak-as-manual.html | |
parent | Initial commit. (diff) | |
download | firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-counter-styles/counter-style-at-rule/speak-as-manual.html')
-rw-r--r-- | testing/web-platform/tests/css/css-counter-styles/counter-style-at-rule/speak-as-manual.html | 186 |
1 files changed, 186 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-counter-styles/counter-style-at-rule/speak-as-manual.html b/testing/web-platform/tests/css/css-counter-styles/counter-style-at-rule/speak-as-manual.html new file mode 100644 index 0000000000..50f35ec142 --- /dev/null +++ b/testing/web-platform/tests/css/css-counter-styles/counter-style-at-rule/speak-as-manual.html @@ -0,0 +1,186 @@ +<!doctype html> +<title>CSS counter style accessibility test</title> +<link rel="help" href="https://drafts.csswg.org/css-counter-styles/#counter-style-speak-as"> +<link rel="author" href="mailto:xiaochengh@chromium.org"> +<p> + This is a manual test. To run the tests, open the browser's developer tools + and navigate to the Accessibility pane (may need to activate it in Settings), + or use an OS-level accessibility inspector, and verify that the accessible + name of the list markers matches the text in the list items (excluding + quotation marks). + + <br><br> + + The following issue discusses ways to automate these tests: + + <br><br> + + https://github.com/web-platform-tests/wpt/issues/8355 +</p> +<style> + @counter-style base { + system: cyclic; + symbols: 'One' 'Two' 'Three'; + suffix: '. '; + } + + @counter-style explicit-bullets { + system: extends base; + speak-as: bullets; + } + @counter-style explicit-numbers { + system: extends base; + speak-as: numbers; + } + @counter-style explicit-words { + system: extends base; + speak-as: words; + } + + @counter-style auto-alphabetic { + system: alphabetic; + symbols: 'One' 'Two' 'Three'; + suffix: '. '; + speak-as: auto; + } + @counter-style auto-cyclic { + system: cyclic; + symbols: 'One' 'Two' 'Three'; + suffix: '. '; + speak-as: auto; + } + @counter-style auto-extends { + system: extends base; + speak-as: auto; + } + @counter-style auto-fixed { + system: fixed; + symbols: 'One' 'Two' 'Three'; + suffix: '. '; + speak-as: auto; + } + @counter-style auto-symbolic { + system: symbolic; + symbols: 'One' 'Two' 'Three'; + suffix: '. '; + speak-as: auto; + } + @counter-style auto-numeric { + system: numeric; + symbols: 'Zero' 'One' 'Two' 'Three'; + suffix: '. '; + speak-as: auto; + } + @counter-style auto-additive { + system: additive; + additive-symbols: 3 'Three', 2 'Two', 1 'One'; + suffix: '. '; + speak-as: auto; + } + + @counter-style reference-bullets { + system: fixed; + symbols: 'Yi' 'Er' 'San'; + suffix: '> '; + speak-as: explicit-bullets; + } + @counter-style reference-numbers { + system: fixed; + symbols: 'Yi' 'Er' 'San'; + suffix: '> '; + speak-as: explicit-numbers; + } + @counter-style reference-words { + system: fixed; + symbols: 'Yi' 'Er' 'San'; + suffix: '> '; + speak-as: explicit-words; + } + +</style> +<body> + <ul style="list-style-type: disc"> + <li>"• "</li> + </ul> + <ul style="list-style-type: circle"> + <li>"◦ "</li> + </ul> + <ul style="list-style-type: square"> + <li>"◾ "</li> + </ul> + <ul style="list-style-type: disclosure-open"> + <li>"▾ "</li> + </ul> + <ul style="list-style-type: disclosure-closed"> + <li>"▸ "</li> + </ul> + + <ul style="list-style-type: explicit-bullets"> + <li>"• "</li> + <li>"• "</li> + <li>"• "</li> + </ul> + <ul style="list-style-type: explicit-numbers"> + <li>"1. "</li> + <li>"2. "</li> + <li>"3. "</li> + </ul> + <ul style="list-style-type: explicit-words"> + <li>"One. "</li> + <li>"Two. "</li> + <li>"Three. "</li> + </ul> + + <ul style="list-style-type: auto-alphabetic"> + <li>"One. "</li> + <li>"Two. "</li> + <li>"Three. "</li> + </ul> + <ul style="list-style-type: auto-cyclic"> + <li>"• "</li> + <li>"• "</li> + <li>"• "</li> + </ul> + <ul style="list-style-type: auto-extends"> + <li>"• "</li> + <li>"• "</li> + <li>"• "</li> + </ul> + <ul style="list-style-type: auto-fixed"> + <li>"1. "</li> + <li>"2. "</li> + <li>"3. "</li> + </ul> + <ul style="list-style-type: auto-symbolic"> + <li>"1. "</li> + <li>"2. "</li> + <li>"3. "</li> + </ul> + <ul style="list-style-type: auto-numeric"> + <li>"1. "</li> + <li>"2. "</li> + <li>"3. "</li> + </ul> + <ul style="list-style-type: auto-additive"> + <li>"1. "</li> + <li>"2. "</li> + <li>"3. "</li> + </ul> + + <ul style="list-style-type: reference-bullets"> + <li>"• "</li> + <li>"• "</li> + <li>"• "</li> + </ul> + <ul style="list-style-type: reference-numbers"> + <li>"1> "</li> + <li>"2> "</li> + <li>"3> "</li> + </ul> + <ul style="list-style-type: reference-words"> + <li>"One> "</li> + <li>"Two> "</li> + <li>"Three> "</li> + </ul> + +</body> |