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/conformance-checkers/html-aria/name-computation-input | |
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/conformance-checkers/html-aria/name-computation-input')
38 files changed, 515 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/538.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/538.html new file mode 100644 index 0000000000..d8d9225c1f --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/538.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset=utf-8> +<title>Test 538 UT type="hidden" with no aria-labelledby and with id="test".</title> +</head> +<body> +<input type="hidden" id="test"> +</body> +</html> + diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/542.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/542.html new file mode 100644 index 0000000000..2e2f5c5afa --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/542.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset=utf-8> +<title>Test 542 An INPUT type=submit, with id="test", with no aria-labelledby and no aria-label and does not have a role=presentation.</title> +</head> +<body> +<input type="submit" id="test"> +</body> +</html> + diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/543.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/543.html new file mode 100644 index 0000000000..4fd6cc33a5 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/543.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset=utf-8> +<title>Test 543 An INPUT type="reset", with id="test", with no aria-labelledby and no aria-label and does not have a role=presentation.</title> +</head> +<body> +<input type="reset" id="test"> +</body> +</html> + diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/544.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/544.html new file mode 100644 index 0000000000..3bf8fb2457 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/544.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset=utf-8> +<title>Test 544 An INPUT type=button, with id="test", value="foo", with no aria-labelledby and no aria-label and does not have a role=presentation.</title> +</head> +<body> +<input type="button" id="test" value="foo"> +</body> +</html> + diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/545.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/545.html new file mode 100644 index 0000000000..16e0d7e1f9 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/545.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset=utf-8> +<title>Test 545 An INPUT type=img, with id="test", with no aria-labelledby, and no aria-label, does not have a role=presentation, and has an alt attribute.</title> +</head> +<body> +<input src="baz.html" type="image" id="test" alt="foo"> +</body> +</html> + diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/546.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/546.html new file mode 100644 index 0000000000..e17ad3be87 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/546.html @@ -0,0 +1,12 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset=utf-8> +<title>Test 546 An INPUT type=text, password, checkbox, radio, file, or img, with id="test", with no aria-labelledby and no aria-label, does not have a role=presentation, and is referenced by a LABEL element.</title> +</head> +<body> +<label for="test">States:</label> +<input type="text" id="test"> +</body> +</html> + diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/551.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/551.html new file mode 100644 index 0000000000..fe1f4c17b6 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/551.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset=utf-8> +<title>Test 551 An INPUT type=text, password, checkbox, radio, file, or image , with id="test", with no aria-labelledby and no aria-label, does not have a role=presentation, is not referenced by a LABEL element, and has a title.</title> +</head> +<body> +<input type="text" id="test" title="crazy" value="baz"> +</body> +</html> + diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/552.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/552.html new file mode 100644 index 0000000000..6623a107e9 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/552.html @@ -0,0 +1,19 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset=utf-8> +<title>Test 552 An INPUT type=text, password, checkbox, radio, file, or image, with id="test", with no aria-labelledby and no aria-label, but is referenced by a LABEL element that has an associated CSS :before content rule.</title> +<style> + +label:before +{ +content:"fancy "; +} +</style> +</head> +<body> +<label for="test">fruit</label> +<input type="text" id="test"> +</body> +</html> + diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/553.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/553.html new file mode 100644 index 0000000000..b0189c7163 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/553.html @@ -0,0 +1,19 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset=utf-8> +<title>Test 553 An INPUT type=text, password, checkbox, radio, file, or image, with id="test", with no aria-labelledby and no aria-label, but is referenced by a LABEL element that has an associated CSS :after content rule. </title> +<style> + +label:after +{ +content:" fruit"; +} +</style> +</head> +<body> +<label for="test">fancy</label> +<input type="text" id="test"> +</body> +</html> + diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/609.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/609.html new file mode 100644 index 0000000000..b3b07abff7 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/609.html @@ -0,0 +1,13 @@ +<!DOCTYPE html> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <title>Title attribute, no aria-label, aria-labelledby</title> + </head> + <body> + <input id="test" type="text" aria-labelledby="ID1 ID2 ID3"> + <p id="ID1">Here is some labelledby text for ID1</p> + <p id="ID2">Also labelledby text ID2</p> + <p id="ID3">Additional labelledby text ID3</p> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/610.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/610.html new file mode 100644 index 0000000000..bd234fbc49 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/610.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <title>Input element, no wai-aria</title> + </head> + <body> + <input id="test" type="text" aria-label="bar" aria-labelledby="ID1 test"> + <div id="ID1">foo</div> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/611.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/611.html new file mode 100644 index 0000000000..4a9d343a41 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/611.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <title>Input element with type="text" referenced by a label, no wai aria</title> + </head> + <body> + <input id="test" type="text"> + <label for="test">foo</label> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/612.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/612.html new file mode 100644 index 0000000000..5037cbd785 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/612.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <title>Input with type="password" label/for without wai-aria</title> + </head> + <body> +<input type="password" id="test"> +<label for="test">foo</label></body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/613.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/613.html new file mode 100644 index 0000000000..0f16f92202 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/613.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <title>Input with type="checkbox" label/for without wai-aria</title> + </head> + <body> +<input type="checkbox" id="test"> +<label for="test">foo</label></body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/614.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/614.html new file mode 100644 index 0000000000..29d3d59cd2 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/614.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <title>Input with type="radio" label/for without wai-aria</title> + </head> + <body> +<input type="radio" id="test"> +<label for="test">foo</label></body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/615.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/615.html new file mode 100644 index 0000000000..1790e6aa8e --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/615.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <title>Input with type="file" label/for without wai-aria</title> + </head> + <body> +<input type="file" id="test"> +<label for="test">foo</label></body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/659.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/659.html new file mode 100644 index 0000000000..c7700a8d02 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/659.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <title>Text input with @title and :before and :after content rule</title> + <style> + label:before { content: "foo"; } + label:after { content: "baz"; } + </style> + </head> + <body> + <form> + <label for="test" title="bar"><input id="test" type="text" name="test" title="bar"></label> + </form> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/660.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/660.html new file mode 100644 index 0000000000..7fd0d265a3 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/660.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <title>Text input with @title and :before and :after content rule</title> + <style> + label:before { content: "foo "; } + label:after { content: " baz"; } + </style> + </head> + <body> + <form> + <label for="test" title="bar"><input id="test" type="password" name="test" title="bar"></label> + </form> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/661.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/661.html new file mode 100644 index 0000000000..7cb28dcf8e --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/661.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <title>Text input with @title and :before and :after content rule</title> + <style> + label:before { content: "foo"; } + label:after { content: "baz"; } + </style> + </head> + <body> + <form> + <label for="test"><input id="test" type="checkbox" name="test" title=" bar "></label> + </form> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/662.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/662.html new file mode 100644 index 0000000000..a857a15560 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/662.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <title>Text input with @title and :before and :after content rule</title> + <style> + label:before { content: "foo"; } + label:after { content: "baz"; } + </style> + </head> + <body> + <form> + <label for="test"><input id="test" type="radio" name="test" title=" bar "></label> + </form> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/663.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/663.html new file mode 100644 index 0000000000..01c5604826 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/663.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <title>Text input with @title and :before and :after content rule</title> + <style> + label:before { content: "foo "; } + label:after { content: " baz"; } + </style> + </head> + <body> + <form> + <label for="test"><input id="test" type="file" name="test" title="bar"></label> + </form> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/721.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/721.html new file mode 100644 index 0000000000..ae260117b3 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/721.html @@ -0,0 +1,12 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset=utf-8> +<title>Test 546a An INPUT type=text, password, checkbox, radio, file, or img, with id="test", with no aria-labelledby and no aria-label, does not have a role=presentation, and is referenced by a LABEL element.</title> +</head> +<body> +<label for="test">States:</label> +<input type="password" id="test"> +</body> +</html> + diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/723.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/723.html new file mode 100644 index 0000000000..eb407a8aff --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/723.html @@ -0,0 +1,12 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset=utf-8> +<title>Test 546b An INPUT type=text, password, checkbox, radio, file, or img, with id="test", with no aria-labelledby and no aria-label, does not have a role=presentation, and is referenced by a LABEL element.</title> +</head> +<body> +<label for="test">States:</label> +<input type="checkbox" id="test"> +</body> +</html> + diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/724.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/724.html new file mode 100644 index 0000000000..bede445367 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/724.html @@ -0,0 +1,12 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset=utf-8> +<title>Test 546c An INPUT type=text, password, checkbox, radio, file, or img, with id="test", with no aria-labelledby and no aria-label, does not have a role=presentation, and is referenced by a LABEL element.</title> +</head> +<body> +<label for="test">States:</label> +<input type="radio" id="test"> +</body> +</html> + diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/725.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/725.html new file mode 100644 index 0000000000..e24d07d9bd --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/725.html @@ -0,0 +1,12 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset=utf-8> +<title>Test 546d An INPUT type=text, password, checkbox, radio, file, or img, with id="test", with no aria-labelledby and no aria-label, does not have a role=presentation, and is referenced by a LABEL element.</title> +</head> +<body> +<label for="test">File:</label> +<input type="file" id="test"> +</body> +</html> + diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/748.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/748.html new file mode 100644 index 0000000000..fe6468492e --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/748.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset=utf-8> +<title>An INPUT type=text, password, checkbox, radio, file, or image , with id="test", with no aria-labelledby and no aria-label, does not have a role=presentation, is not referenced by a LABEL element, and has a title.</title> +</head> +<body> +<input type="password" id="test" title="crazy" value="baz"> +</body> +</html> + diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/749.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/749.html new file mode 100644 index 0000000000..39492c77ef --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/749.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset=utf-8> +<title>An INPUT type=text, password, checkbox, radio, file, or image , with id="test", with no aria-labelledby and no aria-label, does not have a role=presentation, is not referenced by a LABEL element, and has a title.</title> +</head> +<body> +<input type="checkbox" id="test" title="crazy"> +</body> +</html> + diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/750.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/750.html new file mode 100644 index 0000000000..28c9db3b72 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/750.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset=utf-8> +<title>An INPUT type=text, password, checkbox, radio, file, or image , with id="test", with no aria-labelledby and no aria-label, does not have a role=presentation, is not referenced by a LABEL element, and has a title.</title> +</head> +<body> +<input type="radio" id="test" title="crazy"> +</body> +</html> + diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/751.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/751.html new file mode 100644 index 0000000000..a68873061c --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/751.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset=utf-8> +<title>An INPUT type=text, password, checkbox, radio, file, or image , with id="test", with no aria-labelledby and no aria-label, does not have a role=presentation, is not referenced by a LABEL element, and has a title.</title> +</head> +<body> +<input type="file" id="test" title="crazy"> +</body> +</html> + diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/753.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/753.html new file mode 100644 index 0000000000..49d29bfe81 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/753.html @@ -0,0 +1,19 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset=utf-8> +<title>An INPUT type=text, password, checkbox, radio, file, or image, with id="test", with no aria-labelledby and no aria-label, but is referenced by a LABEL element that has an associated CSS :before content rule.</title> +<style> + +label:before +{ +content:"fancy "; +} +</style> +</head> +<body> +<label for="test">fruit</label> +<input type="password" id="test"> +</body> +</html> + diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/754.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/754.html new file mode 100644 index 0000000000..9e4fe8aa81 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/754.html @@ -0,0 +1,19 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset=utf-8> +<title>An INPUT type=text, password, checkbox, radio, file, or image, with id="test", with no aria-labelledby and no aria-label, but is referenced by a LABEL element that has an associated CSS :before content rule.</title> +<style> + +label:before +{ +content:"fancy "; +} +</style> +</head> +<body> +<label for="test">fruit</label> +<input type="checkbox" id="test"> +</body> +</html> + diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/755.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/755.html new file mode 100644 index 0000000000..8d765bffe4 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/755.html @@ -0,0 +1,19 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset=utf-8> +<title>An INPUT type=text, password, checkbox, radio, file, or image, with id="test", with no aria-labelledby and no aria-label, but is referenced by a LABEL element that has an associated CSS :before content rule.</title> +<style> + +label:before +{ +content:"fancy "; +} +</style> +</head> +<body> +<label for="test">fruit</label> +<input type="radio" id="test"> +</body> +</html> + diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/756.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/756.html new file mode 100644 index 0000000000..f8d1b89cd0 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/756.html @@ -0,0 +1,19 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset=utf-8> +<title>An INPUT type=text, password, checkbox, radio, file, or image, with id="test", with no aria-labelledby and no aria-label, but is referenced by a LABEL element that has an associated CSS :before content rule.</title> +<style> + +label:before +{ +content:"fancy "; +} +</style> +</head> +<body> +<label for="test">fruit</label> +<input type="file" id="test"> +</body> +</html> + diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/758.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/758.html new file mode 100644 index 0000000000..51c48ea04f --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/758.html @@ -0,0 +1,19 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset=utf-8> +<title>An INPUT type=text, password, checkbox, radio, file, or image, with id="test", with no aria-labelledby and no aria-label, but is referenced by a LABEL element that has an associated CSS :after content rule. </title> +<style> + +label:after +{ +content:" fruit" +} +</style> +</head> +<body> +<label for="test">fancy</label> +<input type="password" id="test"> +</body> +</html> + diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/759.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/759.html new file mode 100644 index 0000000000..63929e2d61 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/759.html @@ -0,0 +1,19 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset=utf-8> +<title>An INPUT type=text, password, checkbox, radio, file, or image, with id="test", with no aria-labelledby and no aria-label, but is referenced by a LABEL element that has an associated CSS :after content rule. </title> +<style> + +label:after +{ +content:" fruit" +} +</style> +</head> +<body> +<label for="test">fancy</label> +<input type="checkbox" id="test"> +</body> +</html> + diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/760.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/760.html new file mode 100644 index 0000000000..feda3261e4 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/760.html @@ -0,0 +1,19 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset=utf-8> +<title>An INPUT type=text, password, checkbox, radio, file, or image, with id="test", with no aria-labelledby and no aria-label, but is referenced by a LABEL element that has an associated CSS :after content rule. </title> +<style> + +label:after +{ +content:" fruit" +} +</style> +</head> +<body> +<label for="test">fancy</label> +<input type="radio" id="test"> +</body> +</html> + diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/761.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/761.html new file mode 100644 index 0000000000..9ac96625a8 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/761.html @@ -0,0 +1,19 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset=utf-8> +<title>An INPUT type=text, password, checkbox, radio, file, or image, with id="test", with no aria-labelledby and no aria-label, but is referenced by a LABEL element that has an associated CSS :after content rule. </title> +<style> + +label:after +{ +content:"fancy"; +} +</style> +</head> +<body> +<label for="test">fruit</label> +<input type="file" id="test"> +</body> +</html> + diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/foo.jpg b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/foo.jpg Binary files differnew file mode 100644 index 0000000000..7d11a4f7cf --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-input/foo.jpg |