summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-img
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/tests/conformance-checkers/html-aria/name-computation-img
parentInitial commit. (diff)
downloadfirefox-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-img')
-rw-r--r--testing/web-platform/tests/conformance-checkers/html-aria/name-computation-img/557-isvalid.html11
-rw-r--r--testing/web-platform/tests/conformance-checkers/html-aria/name-computation-img/565-isvalid.html14
-rw-r--r--testing/web-platform/tests/conformance-checkers/html-aria/name-computation-img/566-isvalid.html14
-rw-r--r--testing/web-platform/tests/conformance-checkers/html-aria/name-computation-img/foo.jpgbin0 -> 6735 bytes
-rw-r--r--testing/web-platform/tests/conformance-checkers/html-aria/name-computation-img/test.pngbin0 -> 1913 bytes
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
new file mode 100644
index 0000000000..7d11a4f7cf
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-img/foo.jpg
Binary files differ
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
new file mode 100644
index 0000000000..85cfa35fd1
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-img/test.png
Binary files differ