diff options
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html-aria/name-computation-img')
5 files changed, 39 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-img/557-isvalid.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-img/557-isvalid.html new file mode 100644 index 0000000000..5cd2d30636 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-img/557-isvalid.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset=utf-8> +<title>Test 557 IMG with aria-label="l" and alt="a" and title="t" and aria-labelledby not specified.</title> +</head> +<body> +<img src="foo.jpg" aria-label="1" alt="a" title="t"> +</body> +</html> + diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-img/565-isvalid.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-img/565-isvalid.html new file mode 100644 index 0000000000..78ccdf0ca2 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-img/565-isvalid.html @@ -0,0 +1,14 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset=utf-8> +<title>Test 565 IMG with id="ID0" and aria-label="l" and aria-labelledby="ID0 ID1 ID2 ID3" and alt="a" and title="t".</title> +</head> +<body> +<input type="text" value="peanuts" id="ID1"> +<input type="text" value="popcorn" id="ID2"> +<input type="text" value="apple jacks" id="ID3"> +<img id="ID0" aria-label="1" aria-labelledby="ID0 ID1 ID2 ID3" alt= "a" title="t" src="foo.jpg"> +</body> +</html> + diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-img/566-isvalid.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-img/566-isvalid.html new file mode 100644 index 0000000000..58ea9334e0 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-img/566-isvalid.html @@ -0,0 +1,14 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset=utf-8> +<title>Test 566 IMG with id="ID0" and aria-label="" and aria-labelledby="ID0 ID1 ID2 ID3" and alt="a" and title="t".</title> +</head> +<body> +<input type="text" value="peanuts" id="ID1"> +<input type="text" value="popcorn" id="ID2"> +<input type="text" value="apple jacks" id="ID3"> +<img id="ID0" aria-label="" aria-labelledby="ID0 ID1 ID2 ID3" alt= "" title="t" src="foo.jpg"> +</body> +</html> + diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-img/foo.jpg b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-img/foo.jpg Binary files differnew file mode 100644 index 0000000000..7d11a4f7cf --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-img/foo.jpg diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-img/test.png b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-img/test.png Binary files differnew file mode 100644 index 0000000000..85cfa35fd1 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-img/test.png |