diff options
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html-aria/name-computation-general')
14 files changed, 146 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-general/596.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-general/596.html new file mode 100644 index 000000000..d2f4a9d8a --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-general/596.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <title>DIV with aria-labelledby="ID1" and aria-label is not specified and title is not specified.</title> + </head> + <body> + <div id="test" aria-labelledby='ID1'>aria-labelledby='ID1'</div> + <span id="ID1">Label for 'test' element</span> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-general/597.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-general/597.html new file mode 100644 index 000000000..9a2901cef --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-general/597.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <title>DIV with aria-label="Tag" and aria-labelledby is not specified and title is not specified..</title> + </head> + <body> + <div id="test" aria-label='Tag'>aria-label='Tag'</div> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-general/598.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-general/598.html new file mode 100644 index 000000000..7d9404d82 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-general/598.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <title>DIV with aria-labelledby="ID1" aria-label="Tag" and title is not specified.</title> + </head> + <body> + <div id="test" aria-labelledby="ID1" aria-label='Tag'>aria-labelledby="ID1" aria-label='Tag'</div> + <span id="ID1">Element with id='ID1'</span> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-general/599.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-general/599.html new file mode 100644 index 000000000..e08b66647 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-general/599.html @@ -0,0 +1,12 @@ +<!DOCTYPE html> + <html> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <title>DIV with id="ID0" and aria-labelledby="ID0 ID1" and aria-label="Tag" and title is not specified.</title> + </head> + <body> + <div id="test" aria-labelledby="ID0 ID1" aria-label="Tag">aria-labelledby="ID0 ID1" aria-label='Tag'</div> + <span id="ID0">Element with id='ID0'</span> + <span id="ID1">Element with id='ID1'</span> + </body> + </html> diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-general/600.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-general/600.html new file mode 100644 index 000000000..407e35009 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-general/600.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <title>DIV with text and aria-label is not specified and aria-labelledby is not specified and title is not specified and role is not specified.</title> + </head> + <body> + <div id="test">Div with text</div> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-general/601.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-general/601.html new file mode 100644 index 000000000..696f900b9 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-general/601.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <title>DIV with text and role="button" and aria-label is not specified and aria-labelledby is not specified and title is not specified.</title> + </head> + <body> + <div id="test" role="button">Div with role of button, with text.</div> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-general/602.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-general/602.html new file mode 100644 index 000000000..cd896fc11 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-general/602.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <title>DIV with text and role="button" and title="Tag" and aria-label is not specified and aria-labelledby is not specified.</title> + </head> + <body> + <div id="test" role="button" title="Tag" style="outline:medium solid black; width:2em; height:1em;"></div> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-general/603.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-general/603.html new file mode 100644 index 000000000..d43057cb7 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-general/603.html @@ -0,0 +1,2 @@ +<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>< href="test.html" aria-labelledby="ID1"> ABC </A> and aria-label is not specified and title is not specified.</title>
</head>
<body> + <div id="ID1">Nifty</div>
<a href="test.html" aria-labelledby="ID1">ABC</a>
</body>
</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-general/604.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-general/604.html new file mode 100644 index 000000000..d13030893 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-general/604.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <title>aria-label on anchor (without aria-labelledby or title attribute)</title> + </head> + <body> + <a id="test" href="test.html" aria-label="Tag">ABC</a> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-general/605.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-general/605.html new file mode 100644 index 000000000..a9a47476b --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-general/605.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <title>Aria-label on anchor with aria-labelledby (no title attribute)</title> + </head> + <body> + <a href="test.html" id="test" aria-labelledby="ID1" aria-label="Tag">ABC</a> + <p id="ID1">Here is some labelledby text</p> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-general/606.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-general/606.html new file mode 100644 index 000000000..31a65d6b8 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-general/606.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <title>aria-label on anchor with two aria-labelledby ids (no title attribute)</title> + </head> + <body> + <a href="test.html" id="ID0" aria-labelledby="ID0 ID1" aria-label="Tag"></a> + <p id="ID1">Also labelledby text ID1</p> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-general/607.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-general/607.html new file mode 100644 index 000000000..8e71e7d6e --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-general/607.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <title>Anchor with no aria-label, no aria-labelledby, no title attribute</title> + </head> + <body> + <a href="test.html" id="test">ABC</a> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-general/608.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-general/608.html new file mode 100644 index 000000000..e73fc0f25 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-general/608.html @@ -0,0 +1,10 @@ +<!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> + <a href="test.html" id="test" title="Tag"></a> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-general/837.html b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-general/837.html new file mode 100644 index 000000000..eab418c84 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-aria/name-computation-general/837.html @@ -0,0 +1,18 @@ +<!DOCTYPE html> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <title>Tree item with text value "Animals" with two descendant tree items with text value "Cats" and "Dogs".</title> + </head> + <body> + <ul id="tree0" role="tree" aria-activedescendant="tree0_item0" tabindex="0"> + <li id="tree0_item0" role="treeitem" aria-level="1" aria-expanded="true"> + Animals + <ul role="group"> + <li id="tree0_item0_1" role="treeitem" aria-level="2" aria-expanded="true">Cats</li> + <li id="tree0_item0_2" role="treeitem" aria-level="2" aria-expanded="true">Dogs</li> + </ul> + </li> + </ul> + </body> +</html> |