mirror of
https://github.com/servo/servo.git
synced 2025-07-23 15:23:42 +01:00
Auto merge of #20253 - servo-wpt-sync:wpt_update_08-03-2018, r=jdm
Sync WPT with upstream (08-03-2018) Automated downstream sync of changes from upstream as of 08-03-2018. [no-wpt-sync] <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20253) <!-- Reviewable:end -->
This commit is contained in:
commit
63ab4f73f1
2144 changed files with 21364 additions and 11001 deletions
|
@ -17,3 +17,6 @@
|
||||||
[redirected to cross-origin HTMLVideoElement]
|
[redirected to cross-origin HTMLVideoElement]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
[redirected to same-origin HTMLVideoElement]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,7 @@
|
||||||
|
[flexbox_computedstyle_min-auto-size.html]
|
||||||
|
[Computed min-width/min-height of specified auto for flex item.]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Computed min-width/min-height of specified auto for flex item inside display:contents.]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
[css3-text-line-break-jazh-136.html]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[css3-text-line-break-jazh-137.html]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[css3-text-line-break-jazh-142.html]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[css3-text-line-break-jazh-143.html]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[css3-text-line-break-jazh-150.html]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[css3-text-line-break-jazh-151.html]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[css3-text-line-break-jazh-356.html]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[css3-text-line-break-jazh-357.html]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[css3-text-line-break-jazh-360.html]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[css3-text-line-break-jazh-361.html]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[css3-text-line-break-jazh-368.html]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[css3-text-line-break-jazh-369.html]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[css3-text-line-break-jazh-371.html]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[css3-text-line-break-opclns-004.html]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
[letter-spacing-control-chars-001.html]
|
||||||
|
expected: FAIL
|
|
@ -1,4 +0,0 @@
|
||||||
[line-break-normal-021.xht]
|
|
||||||
type: reftest
|
|
||||||
expected:
|
|
||||||
if os == "linux": FAIL
|
|
|
@ -1,4 +0,0 @@
|
||||||
[line-break-normal-022.xht]
|
|
||||||
type: reftest
|
|
||||||
expected:
|
|
||||||
if os == "linux": FAIL
|
|
|
@ -1,4 +0,0 @@
|
||||||
[line-break-normal-023.xht]
|
|
||||||
type: reftest
|
|
||||||
expected:
|
|
||||||
if os == "linux": FAIL
|
|
|
@ -1,4 +0,0 @@
|
||||||
[line-break-normal-024.xht]
|
|
||||||
type: reftest
|
|
||||||
expected:
|
|
||||||
if os == "linux": FAIL
|
|
|
@ -1,4 +0,0 @@
|
||||||
[line-break-strict-011.xht]
|
|
||||||
type: reftest
|
|
||||||
expected:
|
|
||||||
if os == "linux": FAIL
|
|
|
@ -1,4 +0,0 @@
|
||||||
[line-break-strict-012.xht]
|
|
||||||
type: reftest
|
|
||||||
expected:
|
|
||||||
if os == "linux": FAIL
|
|
|
@ -1,4 +0,0 @@
|
||||||
[line-break-strict-013.xht]
|
|
||||||
type: reftest
|
|
||||||
expected:
|
|
||||||
if os == "linux": FAIL
|
|
|
@ -1,4 +0,0 @@
|
||||||
[line-break-strict-014.xht]
|
|
||||||
type: reftest
|
|
||||||
expected:
|
|
||||||
if os == "linux": FAIL
|
|
|
@ -1,4 +0,0 @@
|
||||||
[line-break-strict-015.xht]
|
|
||||||
type: reftest
|
|
||||||
expected:
|
|
||||||
if os == "linux": FAIL
|
|
|
@ -1,4 +0,0 @@
|
||||||
[line-break-strict-016.xht]
|
|
||||||
type: reftest
|
|
||||||
expected:
|
|
||||||
if os == "linux": FAIL
|
|
|
@ -1,4 +0,0 @@
|
||||||
[line-break-strict-017.xht]
|
|
||||||
type: reftest
|
|
||||||
expected:
|
|
||||||
if os == "linux": FAIL
|
|
|
@ -1,3 +0,0 @@
|
||||||
[line-break-strict-018.xht]
|
|
||||||
type: reftest
|
|
||||||
expected: FAIL
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
[line-break-strict-018a.xht]
|
||||||
|
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
||||||
|
[line-break-strict-018b.xht]
|
||||||
|
expected: FAIL
|
|
@ -2,6 +2,3 @@
|
||||||
[elementsFromPoint on the root document for points in iframe elements]
|
[elementsFromPoint on the root document for points in iframe elements]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[elementsFromPoint on inner documents]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
|
|
|
@ -98,3 +98,9 @@
|
||||||
[widows: inherit]
|
[widows: inherit]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
[content: counter(par-num)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[content: counter(par-num, decimal)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,25 @@
|
||||||
|
[anplusb-selector-parsing.html]
|
||||||
|
[:nth-child(-n+0) should be parsed and serialized correctly]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[:nth-child(-n) should be parsed and serialized correctly]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[:nth-last-child(-n+0) should be parsed and serialized correctly]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[:nth-last-child(-n) should be parsed and serialized correctly]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[:nth-of-type(-n+0) should be parsed and serialized correctly]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[:nth-of-type(-n) should be parsed and serialized correctly]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[:nth-last-of-type(-n+0) should be parsed and serialized correctly]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[:nth-last-of-type(-n) should be parsed and serialized correctly]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
[upgrade.html]
|
||||||
|
[Upgrading an element directly (example from the spec)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Two elements as children of the upgraded node]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Two elements as descendants of the upgraded node]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Two elements as shadow-including descendants (and not descendants) of the upgraded node]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Elements inside a template contents DocumentFragment node]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -188,6 +188,15 @@
|
||||||
["data:;CHARSET=\\"X\\",X"]
|
["data:;CHARSET=\\"X\\",X"]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
["data:application/javascript,X X"]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
["data:text/javascript,X X"]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
["data:text/plain,X X"]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
||||||
[processing.any.html]
|
[processing.any.html]
|
||||||
["data://test/,X"]
|
["data://test/,X"]
|
||||||
|
@ -379,3 +388,12 @@
|
||||||
["data:;CHARSET=\\"X\\",X"]
|
["data:;CHARSET=\\"X\\",X"]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
["data:application/javascript,X X"]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
["data:text/javascript,X X"]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
["data:text/plain,X X"]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[first-when-later-but-before.html]
|
||||||
|
[The temporally first autofocus in the document wins, even if an element is inserted later that is previous in the document tree]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[first-when-later.html]
|
||||||
|
[The first autofocus in the document wins, even if elements are inserted later]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[first.html]
|
||||||
|
[The first autofocus in the document wins]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,19 @@
|
||||||
|
[selection-start-end-extra.html]
|
||||||
|
[Setting defaultValue in a textarea should move the cursor to the end]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Setting textContent in a textarea should move selection{Start,End} to the end]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Adding children to a textarea should move selection{Start,End} to the end]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Removing children from a textarea should update selection{Start,End}]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Setting value to a shorter string than defaultValue should correct the cursor position]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Shortening value by turning the input type into 'color' and back to 'text' should correct selection{Start,End}]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -12,3 +12,6 @@
|
||||||
[The <legend> element is child of the disabled fieldset: Its descendants should be disabled.]
|
[The <legend> element is child of the disabled fieldset: Its descendants should be disabled.]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
[A <fieldset> element is in the <legend> element of another disabled <fieldset>: Its descendants should be disabled.]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -3,9 +3,6 @@
|
||||||
[colspan of 1001 must be treated as 1000]
|
[colspan of 1001 must be treated as 1000]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[rowspan of 65534 must work]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[rowspan of 65535 must be treated as 65534]
|
[rowspan of 65535 must be treated as 65534]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -27,6 +27,9 @@
|
||||||
[URLSearchParams interface: new URLSearchParams("hi=there&thank=you") must inherit property "sort()" with the proper type]
|
[URLSearchParams interface: new URLSearchParams("hi=there&thank=you") must inherit property "sort()" with the proper type]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
[Untitled]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
||||||
[interfaces.any.worker.html]
|
[interfaces.any.worker.html]
|
||||||
type: testharness
|
type: testharness
|
||||||
|
@ -54,3 +57,6 @@
|
||||||
[URLSearchParams interface: new URLSearchParams("hi=there&thank=you") must inherit property "sort()" with the proper type]
|
[URLSearchParams interface: new URLSearchParams("hi=there&thank=you") must inherit property "sort()" with the proper type]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
[Untitled]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
4
tests/wpt/metadata/xhr/interfaces.html.ini
Normal file
4
tests/wpt/metadata/xhr/interfaces.html.ini
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
[interfaces.html]
|
||||||
|
[Testing Symbol.iterator property of iterable interface FormData]
|
||||||
|
expected: FAIL
|
||||||
|
|
2
tests/wpt/web-platform-tests/.gitignore
vendored
2
tests/wpt/web-platform-tests/.gitignore
vendored
|
@ -3,6 +3,8 @@
|
||||||
*.sw[po]
|
*.sw[po]
|
||||||
*~
|
*~
|
||||||
MANIFEST.json
|
MANIFEST.json
|
||||||
|
!content-security-policy/support/manifest.json
|
||||||
|
!payment-handler/manifest.json
|
||||||
\#*
|
\#*
|
||||||
_certs
|
_certs
|
||||||
.virtualenv
|
.virtualenv
|
||||||
|
|
|
@ -19,6 +19,9 @@ requirements:
|
||||||
- tools/wptrunner/requirements_servo.txt:
|
- tools/wptrunner/requirements_servo.txt:
|
||||||
update: all
|
update: all
|
||||||
pin: True
|
pin: True
|
||||||
|
- tools/wptrunner/requirements_safari.txt:
|
||||||
|
update: all
|
||||||
|
pin: True
|
||||||
- tools/wptrunner/requirements_sauce.txt:
|
- tools/wptrunner/requirements_sauce.txt:
|
||||||
update: all
|
update: all
|
||||||
pin: True
|
pin: True
|
||||||
|
@ -37,4 +40,3 @@ requirements:
|
||||||
- tools/wpt/requirements.txt:
|
- tools/wpt/requirements.txt:
|
||||||
update: all
|
update: all
|
||||||
pin: True
|
pin: True
|
||||||
|
|
||||||
|
|
|
@ -89,6 +89,15 @@ matrix:
|
||||||
packages:
|
packages:
|
||||||
- libnss3-tools
|
- libnss3-tools
|
||||||
env: JOB=wpt_integration TOXENV=py27,py27-flake8 SCRIPT=tools/ci/ci_wpt.sh
|
env: JOB=wpt_integration TOXENV=py27,py27-flake8 SCRIPT=tools/ci/ci_wpt.sh
|
||||||
|
- os: linux
|
||||||
|
python: "2.7"
|
||||||
|
env: JOB=wptrunner_infrastructure SCRIPT=tools/ci/ci_wptrunner_infrastructure.sh
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- libnss3-tools
|
||||||
|
- libappindicator1
|
||||||
|
- fonts-liberation
|
||||||
exclude:
|
exclude:
|
||||||
- env: # exclude empty env from the top-level above
|
- env: # exclude empty env from the top-level above
|
||||||
allow_failures:
|
allow_failures:
|
||||||
|
|
|
@ -70,6 +70,18 @@ const arguments = [
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
name: "redirected to same-origin HTMLVideoElement",
|
||||||
|
factory: () => {
|
||||||
|
return new Promise((resolve, reject) => {
|
||||||
|
const video = document.createElement("video");
|
||||||
|
video.oncanplaythrough = () => resolve(video);
|
||||||
|
video.onerror = reject;
|
||||||
|
video.src = "http://{{domains[www1]}}:{{ports[http][0]}}/common/redirect.py?location=" + getVideoURI("http://{{domains[]}}:{{ports[http][0]}}/media/movie_300");
|
||||||
|
});
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
name: "unclean HTMLCanvasElement",
|
name: "unclean HTMLCanvasElement",
|
||||||
factory: () => {
|
factory: () => {
|
||||||
|
|
|
@ -32,6 +32,8 @@
|
||||||
#
|
#
|
||||||
# * Test the tests, add new ones to Git, remove deleted ones from Git, etc.
|
# * Test the tests, add new ones to Git, remove deleted ones from Git, etc.
|
||||||
|
|
||||||
|
from __future__ import print_function
|
||||||
|
|
||||||
import re
|
import re
|
||||||
import codecs
|
import codecs
|
||||||
import time
|
import time
|
||||||
|
@ -191,7 +193,7 @@ def genTestUtils(TESTOUTPUTDIR, IMAGEOUTPUTDIR, TEMPLATEFILE, NAME2DIRFILE, ISOF
|
||||||
mapped_name = "%s/%s" % (name_mapping[mn], name)
|
mapped_name = "%s/%s" % (name_mapping[mn], name)
|
||||||
break
|
break
|
||||||
if not mapped_name:
|
if not mapped_name:
|
||||||
print "LIKELY ERROR: %s has no defined target directory mapping" % name
|
print("LIKELY ERROR: %s has no defined target directory mapping" % name)
|
||||||
if 'manual' in test:
|
if 'manual' in test:
|
||||||
mapped_name += "-manual"
|
mapped_name += "-manual"
|
||||||
return mapped_name
|
return mapped_name
|
||||||
|
@ -269,10 +271,10 @@ def genTestUtils(TESTOUTPUTDIR, IMAGEOUTPUTDIR, TEMPLATEFILE, NAME2DIRFILE, ISOF
|
||||||
test = tests[i]
|
test = tests[i]
|
||||||
|
|
||||||
name = test['name']
|
name = test['name']
|
||||||
print "\r(%s)" % name, " "*32, "\t",
|
print("\r(%s)" % name, " "*32, "\t")
|
||||||
|
|
||||||
if name in used_tests:
|
if name in used_tests:
|
||||||
print "Test %s is defined twice" % name
|
print("Test %s is defined twice" % name)
|
||||||
used_tests[name] = 1
|
used_tests[name] = 1
|
||||||
|
|
||||||
mapped_name = map_name(name)
|
mapped_name = map_name(name)
|
||||||
|
@ -292,14 +294,14 @@ def genTestUtils(TESTOUTPUTDIR, IMAGEOUTPUTDIR, TEMPLATEFILE, NAME2DIRFILE, ISOF
|
||||||
|
|
||||||
for ref in test.get('testing', []):
|
for ref in test.get('testing', []):
|
||||||
if ref not in spec_ids:
|
if ref not in spec_ids:
|
||||||
print "Test %s uses nonexistent spec point %s" % (name, ref)
|
print("Test %s uses nonexistent spec point %s" % (name, ref))
|
||||||
spec_refs.setdefault(ref, []).append(name)
|
spec_refs.setdefault(ref, []).append(name)
|
||||||
|
|
||||||
if not test.get('testing', []):
|
if not test.get('testing', []):
|
||||||
print "Test %s doesn't refer to any spec points" % name
|
print("Test %s doesn't refer to any spec points" % name)
|
||||||
|
|
||||||
if test.get('expected', '') == 'green' and re.search(r'@assert pixel .* 0,0,0,0;', test['code']):
|
if test.get('expected', '') == 'green' and re.search(r'@assert pixel .* 0,0,0,0;', test['code']):
|
||||||
print "Probable incorrect pixel test in %s" % name
|
print("Probable incorrect pixel test in %s" % name)
|
||||||
|
|
||||||
code = expand_test_code(test['code'])
|
code = expand_test_code(test['code'])
|
||||||
|
|
||||||
|
@ -312,7 +314,8 @@ def genTestUtils(TESTOUTPUTDIR, IMAGEOUTPUTDIR, TEMPLATEFILE, NAME2DIRFILE, ISOF
|
||||||
elif expected == 'clear':
|
elif expected == 'clear':
|
||||||
expected_img = "/images/" + make_flat_image('clear-100x50.png', 100, 50, 0,0,0,0)
|
expected_img = "/images/" + make_flat_image('clear-100x50.png', 100, 50, 0,0,0,0)
|
||||||
else:
|
else:
|
||||||
if ';' in expected: print "Found semicolon in %s" % name
|
if ';' in expected:
|
||||||
|
print("Found semicolon in %s" % name)
|
||||||
expected = re.sub(r'^size (\d+) (\d+)',
|
expected = re.sub(r'^size (\d+) (\d+)',
|
||||||
r'surface = cairo.ImageSurface(cairo.FORMAT_ARGB32, \1, \2)\ncr = cairo.Context(surface)',
|
r'surface = cairo.ImageSurface(cairo.FORMAT_ARGB32, \1, \2)\ncr = cairo.Context(surface)',
|
||||||
expected)
|
expected)
|
||||||
|
@ -394,7 +397,7 @@ def genTestUtils(TESTOUTPUTDIR, IMAGEOUTPUTDIR, TEMPLATEFILE, NAME2DIRFILE, ISOF
|
||||||
f = codecs.open('%s/%s%s.worker.js' % (TESTOUTPUTDIR, mapped_name, name_variant), 'w', 'utf-8')
|
f = codecs.open('%s/%s%s.worker.js' % (TESTOUTPUTDIR, mapped_name, name_variant), 'w', 'utf-8')
|
||||||
f.write(templates['w3cworker'] % template_params)
|
f.write(templates['w3cworker'] % template_params)
|
||||||
|
|
||||||
print
|
print()
|
||||||
|
|
||||||
|
|
||||||
def getNodeText(node):
|
def getNodeText(node):
|
||||||
|
@ -469,7 +472,7 @@ def genTestUtils(TESTOUTPUTDIR, IMAGEOUTPUTDIR, TEMPLATEFILE, NAME2DIRFILE, ISOF
|
||||||
for a in spec_assertions:
|
for a in spec_assertions:
|
||||||
# Warn about problems
|
# Warn about problems
|
||||||
if a['id'] not in spec_refs:
|
if a['id'] not in spec_refs:
|
||||||
print "Unused spec statement %s" % a['id']
|
print("Unused spec statement %s" % a['id'])
|
||||||
|
|
||||||
pattern_text = a['text']
|
pattern_text = a['text']
|
||||||
|
|
||||||
|
@ -529,11 +532,11 @@ def genTestUtils(TESTOUTPUTDIR, IMAGEOUTPUTDIR, TEMPLATEFILE, NAME2DIRFILE, ISOF
|
||||||
continue # discard this match
|
continue # discard this match
|
||||||
|
|
||||||
if id in matched_assertions:
|
if id in matched_assertions:
|
||||||
print "Spec statement %s matches multiple places" % id
|
print("Spec statement %s matches multiple places" % id)
|
||||||
matched_assertions[id] = True
|
matched_assertions[id] = True
|
||||||
|
|
||||||
if m.lastindex != 1:
|
if m.lastindex != 1:
|
||||||
print "Spec statement %s has incorrect number of match groups" % id
|
print("Spec statement %s has incorrect number of match groups" % id)
|
||||||
|
|
||||||
end = m.end(1)
|
end = m.end(1)
|
||||||
end_node = None
|
end_node = None
|
||||||
|
@ -574,7 +577,7 @@ def genTestUtils(TESTOUTPUTDIR, IMAGEOUTPUTDIR, TEMPLATEFILE, NAME2DIRFILE, ISOF
|
||||||
|
|
||||||
for s in spec_assertions:
|
for s in spec_assertions:
|
||||||
if s['id'] not in matched_assertions:
|
if s['id'] not in matched_assertions:
|
||||||
print "Annotation incomplete: Unmatched spec statement %s" % s['id']
|
print("Annotation incomplete: Unmatched spec statement %s" % s['id'])
|
||||||
|
|
||||||
# Convert from XHTML back to HTML
|
# Convert from XHTML back to HTML
|
||||||
doc.documentElement.removeAttribute('xmlns')
|
doc.documentElement.removeAttribute('xmlns')
|
||||||
|
|
|
@ -16,26 +16,26 @@ for (var i = 0; i < 2000; ++i) {
|
||||||
|
|
||||||
test(function() {
|
test(function() {
|
||||||
var blob = new Blob([text]);
|
var blob = new Blob([text]);
|
||||||
var sliceBlob = blob.slice(-1, 2000);
|
var sliceBlob = blob.slice(-1, blob.size);
|
||||||
assert_equals(sliceBlob.size, 2000-(2000-1), "Bolb slice size");
|
assert_equals(sliceBlob.size, 1, "Blob slice size");
|
||||||
}, "slice start is negative, relativeStart will be max((size + start), 0)");
|
}, "slice start is negative, relativeStart will be max((size + start), 0)");
|
||||||
|
|
||||||
test(function() {
|
test(function() {
|
||||||
var blob = new Blob([text]);
|
var blob = new Blob([text]);
|
||||||
var sliceBlob = blob.slice(2001, 2000);
|
var sliceBlob = blob.slice(blob.size + 1, blob.size);
|
||||||
assert_equals(sliceBlob.size, 0, "Bolb slice size");
|
assert_equals(sliceBlob.size, 0, "Blob slice size");
|
||||||
}, "slice start is greater than blob size, relativeStart will be min(start, size)");
|
}, "slice start is greater than blob size, relativeStart will be min(start, size)");
|
||||||
|
|
||||||
test(function() {
|
test(function() {
|
||||||
var blob = new Blob([text]);
|
var blob = new Blob([text]);
|
||||||
var sliceBlob = blob.slice(1998, -1);
|
var sliceBlob = blob.slice(blob.size - 2, -1);
|
||||||
assert_equals(sliceBlob.size, (2000-1)-1998, "Bolb slice size");
|
assert_equals(sliceBlob.size, 1, "Blob slice size");
|
||||||
}, "slice end is negative, relativeEnd will be max((size + end), 0)");
|
}, "slice end is negative, relativeEnd will be max((size + end), 0)");
|
||||||
|
|
||||||
test(function() {
|
test(function() {
|
||||||
var blob = new Blob([text]);
|
var blob = new Blob([text]);
|
||||||
var sliceBlob = blob.slice(1998, 2999);
|
var sliceBlob = blob.slice(blob.size - 2, blob.size + 999);
|
||||||
assert_equals(sliceBlob.size, 2000-1998, "Bolb slice size");
|
assert_equals(sliceBlob.size, 2, "Blob slice size");
|
||||||
}, "slice end is greater than blob size, relativeEnd will be min(end, size)");
|
}, "slice end is greater than blob size, relativeEnd will be min(end, size)");
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -25,7 +25,7 @@ setup(function() {
|
||||||
var idl_array = new IdlArray();
|
var idl_array = new IdlArray();
|
||||||
|
|
||||||
var request = new XMLHttpRequest();
|
var request = new XMLHttpRequest();
|
||||||
request.open("GET", "idlharness.idl");
|
request.open("GET", "/interfaces/FileAPI.idl");
|
||||||
request.send();
|
request.send();
|
||||||
request.onload = function() {
|
request.onload = function() {
|
||||||
var idls = request.responseText;
|
var idls = request.responseText;
|
||||||
|
|
|
@ -2,7 +2,7 @@ importScripts("/resources/testharness.js");
|
||||||
importScripts("/resources/WebIDLParser.js", "/resources/idlharness.js");
|
importScripts("/resources/WebIDLParser.js", "/resources/idlharness.js");
|
||||||
|
|
||||||
var request = new XMLHttpRequest();
|
var request = new XMLHttpRequest();
|
||||||
request.open("GET", "idlharness.idl");
|
request.open("GET", "/interfaces/FileAPI.idl");
|
||||||
request.send();
|
request.send();
|
||||||
request.onload = function() {
|
request.onload = function() {
|
||||||
var idl_array = new IdlArray();
|
var idl_array = new IdlArray();
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
"use strict";
|
"use strict";
|
||||||
async_test(function(t) {
|
async_test(function(t) {
|
||||||
var request = new XMLHttpRequest();
|
var request = new XMLHttpRequest();
|
||||||
request.open("GET", "interfaces.idl");
|
request.open("GET", "/interfaces/IndexedDB.idl");
|
||||||
request.send();
|
request.send();
|
||||||
request.onload = t.step_func(function() {
|
request.onload = t.step_func(function() {
|
||||||
var idlArray = new IdlArray();
|
var idlArray = new IdlArray();
|
||||||
|
|
|
@ -5,7 +5,7 @@ importScripts("/resources/WebIDLParser.js", "/resources/idlharness.js");
|
||||||
|
|
||||||
async_test(function(t) {
|
async_test(function(t) {
|
||||||
var request = new XMLHttpRequest();
|
var request = new XMLHttpRequest();
|
||||||
request.open("GET", "interfaces.idl");
|
request.open("GET", "/interfaces/IndexedDB.idl");
|
||||||
request.send();
|
request.send();
|
||||||
request.onload = t.step_func(function() {
|
request.onload = t.step_func(function() {
|
||||||
var idlArray = new IdlArray();
|
var idlArray = new IdlArray();
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<script src="/resources/testharness.js"></script>
|
<script src="/resources/testharness.js"></script>
|
||||||
<script src="/resources/testharnessreport.js"></script>
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
<script src="/feature-policy/resources/featurepolicy.js"></script>
|
<script src="/feature-policy/resources/featurepolicy.js"></script>
|
||||||
<script src="/generic-sensor/generic-sensor-feature-policy-test.sub.js"></script>
|
<script src="/sensors/generic-sensor-feature-policy-test.sub.js"></script>
|
||||||
<script>
|
<script>
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<script src="/resources/testharness.js"></script>
|
<script src="/resources/testharness.js"></script>
|
||||||
<script src="/resources/testharnessreport.js"></script>
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
<script src="/feature-policy/resources/featurepolicy.js"></script>
|
<script src="/feature-policy/resources/featurepolicy.js"></script>
|
||||||
<script src="/generic-sensor/generic-sensor-feature-policy-test.sub.js"></script>
|
<script src="/sensors/generic-sensor-feature-policy-test.sub.js"></script>
|
||||||
<script>
|
<script>
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<script src="/resources/testharness.js"></script>
|
<script src="/resources/testharness.js"></script>
|
||||||
<script src="/resources/testharnessreport.js"></script>
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
<script src="/feature-policy/resources/featurepolicy.js"></script>
|
<script src="/feature-policy/resources/featurepolicy.js"></script>
|
||||||
<script src="/generic-sensor/generic-sensor-feature-policy-test.sub.js"></script>
|
<script src="/sensors/generic-sensor-feature-policy-test.sub.js"></script>
|
||||||
<script>
|
<script>
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<script src="/resources/testharness.js"></script>
|
<script src="/resources/testharness.js"></script>
|
||||||
<script src="/resources/testharnessreport.js"></script>
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
<script src="/feature-policy/resources/featurepolicy.js"></script>
|
<script src="/feature-policy/resources/featurepolicy.js"></script>
|
||||||
<script src="/generic-sensor/generic-sensor-feature-policy-test.sub.js"></script>
|
<script src="/sensors/generic-sensor-feature-policy-test.sub.js"></script>
|
||||||
<script>
|
<script>
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<script src="/resources/testharness.js"></script>
|
<script src="/resources/testharness.js"></script>
|
||||||
<script src="/resources/testharnessreport.js"></script>
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
<script src="/feature-policy/resources/featurepolicy.js"></script>
|
<script src="/feature-policy/resources/featurepolicy.js"></script>
|
||||||
<script src="/generic-sensor/generic-sensor-feature-policy-test.sub.js"></script>
|
<script src="/sensors/generic-sensor-feature-policy-test.sub.js"></script>
|
||||||
<script>
|
<script>
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<link rel="help" href="https://www.w3.org/TR/accelerometer/">
|
<link rel="help" href="https://www.w3.org/TR/accelerometer/">
|
||||||
<script src="/resources/testharness.js"></script>
|
<script src="/resources/testharness.js"></script>
|
||||||
<script src="/resources/testharnessreport.js"></script>
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
<script src="/generic-sensor/generic-sensor-tests.js"></script>
|
<script src="/sensors/generic-sensor-tests.js"></script>
|
||||||
<div id="log"></div>
|
<div id="log"></div>
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<link rel="help" href="https://www.w3.org/TR/accelerometer/">
|
<link rel="help" href="https://www.w3.org/TR/accelerometer/">
|
||||||
<script src="/resources/testharness.js"></script>
|
<script src="/resources/testharness.js"></script>
|
||||||
<script src="/resources/testharnessreport.js"></script>
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
<script src="/generic-sensor/generic-sensor-tests.js"></script>
|
<script src="/sensors/generic-sensor-tests.js"></script>
|
||||||
<div id="log"></div>
|
<div id="log"></div>
|
||||||
<h2>Note:</h2>
|
<h2>Note:</h2>
|
||||||
<ol>
|
<ol>
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<link rel="help" href="https://www.w3.org/TR/accelerometer/">
|
<link rel="help" href="https://www.w3.org/TR/accelerometer/">
|
||||||
<script src="/resources/testharness.js"></script>
|
<script src="/resources/testharness.js"></script>
|
||||||
<script src="/resources/testharnessreport.js"></script>
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
<script src="/generic-sensor/generic-sensor-tests.js"></script>
|
<script src="/sensors/generic-sensor-tests.js"></script>
|
||||||
<div id="log"></div>
|
<div id="log"></div>
|
||||||
<h2>Precondition</h2>
|
<h2>Precondition</h2>
|
||||||
<ol>
|
<ol>
|
||||||
|
|
|
@ -32,7 +32,7 @@ function fetchText(url) {
|
||||||
promise_test(() => {
|
promise_test(() => {
|
||||||
return Promise.all([
|
return Promise.all([
|
||||||
"/interfaces/dom.idl",
|
"/interfaces/dom.idl",
|
||||||
"/interfaces/generic-sensor.idl",
|
"/interfaces/sensors.idl",
|
||||||
"/interfaces/accelerometer.idl",
|
"/interfaces/accelerometer.idl",
|
||||||
].map(fetchText)).then(doTest);
|
].map(fetchText)).then(doTest);
|
||||||
}, "Test IDL implementation of Accelerometer Sensor");
|
}, "Test IDL implementation of Accelerometer Sensor");
|
||||||
|
|
|
@ -0,0 +1,71 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Description link-with-label</title>
|
||||||
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
|
||||||
|
<link rel="stylesheet" href="/resources/testharness.css">
|
||||||
|
<link rel="stylesheet" href="/wai-aria/scripts/manual.css">
|
||||||
|
<script src="/resources/testharness.js"></script>
|
||||||
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
|
<script src="/wai-aria/scripts/ATTAcomm.js"></script>
|
||||||
|
<script>
|
||||||
|
setup({explicit_timeout: true, explicit_done: true });
|
||||||
|
|
||||||
|
var theTest = new ATTAcomm(
|
||||||
|
{
|
||||||
|
"steps" : [
|
||||||
|
{
|
||||||
|
"element" : "test",
|
||||||
|
"test" : {
|
||||||
|
"ATK" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"description",
|
||||||
|
"is",
|
||||||
|
"San Francisco"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"AXAPI" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"AXHelp",
|
||||||
|
"is",
|
||||||
|
"San Francisco"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"IAccessible2" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"accDescription",
|
||||||
|
"is",
|
||||||
|
"San Francisco"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"UIA" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"Description",
|
||||||
|
"is",
|
||||||
|
"San Francisco"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"title" : "step 1",
|
||||||
|
"type" : "test"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title" : "Description link-with-label"
|
||||||
|
}
|
||||||
|
|
||||||
|
) ;
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>This test examines the ARIA properties for Description link-with-label.</p>
|
||||||
|
<a id="test" href="#" aria-label="California" title="San Francisco" >United States</a>
|
||||||
|
|
||||||
|
<div id="manualMode"></div>
|
||||||
|
<div id="log"></div>
|
||||||
|
<div id="ATTAmessages"></div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,71 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Description test case 557</title>
|
||||||
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
|
||||||
|
<link rel="stylesheet" href="/resources/testharness.css">
|
||||||
|
<link rel="stylesheet" href="/wai-aria/scripts/manual.css">
|
||||||
|
<script src="/resources/testharness.js"></script>
|
||||||
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
|
<script src="/wai-aria/scripts/ATTAcomm.js"></script>
|
||||||
|
<script>
|
||||||
|
setup({explicit_timeout: true, explicit_done: true });
|
||||||
|
|
||||||
|
var theTest = new ATTAcomm(
|
||||||
|
{
|
||||||
|
"steps" : [
|
||||||
|
{
|
||||||
|
"element" : "test",
|
||||||
|
"test" : {
|
||||||
|
"ATK" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"description",
|
||||||
|
"is",
|
||||||
|
"t"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"AXAPI" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"AXHelp",
|
||||||
|
"is",
|
||||||
|
"t"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"IAccessible2" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"accDescription",
|
||||||
|
"is",
|
||||||
|
"t"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"UIA" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"Description",
|
||||||
|
"is",
|
||||||
|
"t"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"title" : "step 1",
|
||||||
|
"type" : "test"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title" : "Description test case 557"
|
||||||
|
}
|
||||||
|
|
||||||
|
) ;
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>This test examines the ARIA properties for Description test case 557.</p>
|
||||||
|
<img id="test" src="foo.jpg" aria-label="1" alt="a" title="t"/>
|
||||||
|
|
||||||
|
<div id="manualMode"></div>
|
||||||
|
<div id="log"></div>
|
||||||
|
<div id="ATTAmessages"></div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,72 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Description test case 772</title>
|
||||||
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
|
||||||
|
<link rel="stylesheet" href="/resources/testharness.css">
|
||||||
|
<link rel="stylesheet" href="/wai-aria/scripts/manual.css">
|
||||||
|
<script src="/resources/testharness.js"></script>
|
||||||
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
|
<script src="/wai-aria/scripts/ATTAcomm.js"></script>
|
||||||
|
<script>
|
||||||
|
setup({explicit_timeout: true, explicit_done: true });
|
||||||
|
|
||||||
|
var theTest = new ATTAcomm(
|
||||||
|
{
|
||||||
|
"steps" : [
|
||||||
|
{
|
||||||
|
"element" : "test",
|
||||||
|
"test" : {
|
||||||
|
"ATK" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"description",
|
||||||
|
"is",
|
||||||
|
"foo"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"AXAPI" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"AXHelp",
|
||||||
|
"is",
|
||||||
|
"foo"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"IAccessible2" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"accDescription",
|
||||||
|
"is",
|
||||||
|
"foo"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"UIA" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"Description",
|
||||||
|
"is",
|
||||||
|
"foo"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"title" : "step 1",
|
||||||
|
"type" : "test"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title" : "Description test case 772"
|
||||||
|
}
|
||||||
|
|
||||||
|
) ;
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>This test examines the ARIA properties for Description test case 772.</p>
|
||||||
|
<img src="foo.jpg" id="test" alt="test" aria-describedby="t1">
|
||||||
|
<div id="t1">foo</div>
|
||||||
|
|
||||||
|
<div id="manualMode"></div>
|
||||||
|
<div id="log"></div>
|
||||||
|
<div id="ATTAmessages"></div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,72 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Description test case 773</title>
|
||||||
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
|
||||||
|
<link rel="stylesheet" href="/resources/testharness.css">
|
||||||
|
<link rel="stylesheet" href="/wai-aria/scripts/manual.css">
|
||||||
|
<script src="/resources/testharness.js"></script>
|
||||||
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
|
<script src="/wai-aria/scripts/ATTAcomm.js"></script>
|
||||||
|
<script>
|
||||||
|
setup({explicit_timeout: true, explicit_done: true });
|
||||||
|
|
||||||
|
var theTest = new ATTAcomm(
|
||||||
|
{
|
||||||
|
"steps" : [
|
||||||
|
{
|
||||||
|
"element" : "test",
|
||||||
|
"test" : {
|
||||||
|
"ATK" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"description",
|
||||||
|
"is",
|
||||||
|
"foo"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"AXAPI" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"AXHelp",
|
||||||
|
"is",
|
||||||
|
"foo"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"IAccessible2" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"accDescription",
|
||||||
|
"is",
|
||||||
|
"foo"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"UIA" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"Description",
|
||||||
|
"is",
|
||||||
|
"foo"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"title" : "step 1",
|
||||||
|
"type" : "test"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title" : "Description test case 773"
|
||||||
|
}
|
||||||
|
|
||||||
|
) ;
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>This test examines the ARIA properties for Description test case 773.</p>
|
||||||
|
<img src="foo.jpg" id="test" alt="test" aria-describedby="t1">
|
||||||
|
<div id="t1" style="display:none">foo</div>
|
||||||
|
|
||||||
|
<div id="manualMode"></div>
|
||||||
|
<div id="log"></div>
|
||||||
|
<div id="ATTAmessages"></div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,72 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Description test case 774</title>
|
||||||
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
|
||||||
|
<link rel="stylesheet" href="/resources/testharness.css">
|
||||||
|
<link rel="stylesheet" href="/wai-aria/scripts/manual.css">
|
||||||
|
<script src="/resources/testharness.js"></script>
|
||||||
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
|
<script src="/wai-aria/scripts/ATTAcomm.js"></script>
|
||||||
|
<script>
|
||||||
|
setup({explicit_timeout: true, explicit_done: true });
|
||||||
|
|
||||||
|
var theTest = new ATTAcomm(
|
||||||
|
{
|
||||||
|
"steps" : [
|
||||||
|
{
|
||||||
|
"element" : "test",
|
||||||
|
"test" : {
|
||||||
|
"ATK" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"description",
|
||||||
|
"is",
|
||||||
|
"foo"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"AXAPI" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"AXHelp",
|
||||||
|
"is",
|
||||||
|
"foo"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"IAccessible2" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"accDescription",
|
||||||
|
"is",
|
||||||
|
"foo"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"UIA" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"Description",
|
||||||
|
"is",
|
||||||
|
"foo"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"title" : "step 1",
|
||||||
|
"type" : "test"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title" : "Description test case 774"
|
||||||
|
}
|
||||||
|
|
||||||
|
) ;
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>This test examines the ARIA properties for Description test case 774.</p>
|
||||||
|
<img src="foo.jpg" id="test" alt="test" aria-describedby="t1">
|
||||||
|
<span id="t1" role="presentation">foo</span>
|
||||||
|
|
||||||
|
<div id="manualMode"></div>
|
||||||
|
<div id="log"></div>
|
||||||
|
<div id="ATTAmessages"></div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,72 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Description test case 838</title>
|
||||||
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
|
||||||
|
<link rel="stylesheet" href="/resources/testharness.css">
|
||||||
|
<link rel="stylesheet" href="/wai-aria/scripts/manual.css">
|
||||||
|
<script src="/resources/testharness.js"></script>
|
||||||
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
|
<script src="/wai-aria/scripts/ATTAcomm.js"></script>
|
||||||
|
<script>
|
||||||
|
setup({explicit_timeout: true, explicit_done: true });
|
||||||
|
|
||||||
|
var theTest = new ATTAcomm(
|
||||||
|
{
|
||||||
|
"steps" : [
|
||||||
|
{
|
||||||
|
"element" : "test",
|
||||||
|
"test" : {
|
||||||
|
"ATK" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"description",
|
||||||
|
"is",
|
||||||
|
"foo"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"AXAPI" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"AXHelp",
|
||||||
|
"is",
|
||||||
|
"foo"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"IAccessible2" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"accDescription",
|
||||||
|
"is",
|
||||||
|
"foo"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"UIA" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"Description",
|
||||||
|
"is",
|
||||||
|
"foo"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"title" : "step 1",
|
||||||
|
"type" : "test"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title" : "Description test case 838"
|
||||||
|
}
|
||||||
|
|
||||||
|
) ;
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>This test examines the ARIA properties for Description test case 838.</p>
|
||||||
|
<img src="foo.jpg" id="test" alt="test" aria-describedby="t1">
|
||||||
|
<div id="t1" style="visibility:hidden">foo</div>
|
||||||
|
|
||||||
|
<div id="manualMode"></div>
|
||||||
|
<div id="log"></div>
|
||||||
|
<div id="ATTAmessages"></div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,71 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Description test case broken reference</title>
|
||||||
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
|
||||||
|
<link rel="stylesheet" href="/resources/testharness.css">
|
||||||
|
<link rel="stylesheet" href="/wai-aria/scripts/manual.css">
|
||||||
|
<script src="/resources/testharness.js"></script>
|
||||||
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
|
<script src="/wai-aria/scripts/ATTAcomm.js"></script>
|
||||||
|
<script>
|
||||||
|
setup({explicit_timeout: true, explicit_done: true });
|
||||||
|
|
||||||
|
var theTest = new ATTAcomm(
|
||||||
|
{
|
||||||
|
"steps" : [
|
||||||
|
{
|
||||||
|
"element" : "test",
|
||||||
|
"test" : {
|
||||||
|
"ATK" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"description",
|
||||||
|
"is",
|
||||||
|
""
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"AXAPI" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"AXHelp",
|
||||||
|
"is",
|
||||||
|
""
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"IAccessible2" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"accDescription",
|
||||||
|
"is",
|
||||||
|
""
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"UIA" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"Description",
|
||||||
|
"is",
|
||||||
|
""
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"title" : "step 1",
|
||||||
|
"type" : "test"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title" : "Description test case broken reference"
|
||||||
|
}
|
||||||
|
|
||||||
|
) ;
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>This test examines the ARIA properties for Description test case broken reference.</p>
|
||||||
|
<img src="foo.jpg" id="test" alt="test" aria-describedby="t1">
|
||||||
|
|
||||||
|
<div id="manualMode"></div>
|
||||||
|
<div id="log"></div>
|
||||||
|
<div id="ATTAmessages"></div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,72 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Description test case one valid reference</title>
|
||||||
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
|
||||||
|
<link rel="stylesheet" href="/resources/testharness.css">
|
||||||
|
<link rel="stylesheet" href="/wai-aria/scripts/manual.css">
|
||||||
|
<script src="/resources/testharness.js"></script>
|
||||||
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
|
<script src="/wai-aria/scripts/ATTAcomm.js"></script>
|
||||||
|
<script>
|
||||||
|
setup({explicit_timeout: true, explicit_done: true });
|
||||||
|
|
||||||
|
var theTest = new ATTAcomm(
|
||||||
|
{
|
||||||
|
"steps" : [
|
||||||
|
{
|
||||||
|
"element" : "test",
|
||||||
|
"test" : {
|
||||||
|
"ATK" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"description",
|
||||||
|
"is",
|
||||||
|
"foo"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"AXAPI" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"AXHelp",
|
||||||
|
"is",
|
||||||
|
"foo"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"IAccessible2" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"accDescription",
|
||||||
|
"is",
|
||||||
|
"foo"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"UIA" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"Description",
|
||||||
|
"is",
|
||||||
|
"foo"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"title" : "step 1",
|
||||||
|
"type" : "test"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title" : "Description test case one valid reference"
|
||||||
|
}
|
||||||
|
|
||||||
|
) ;
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>This test examines the ARIA properties for Description test case one valid reference.</p>
|
||||||
|
<img src="foo.jpg" id="test" alt="test" aria-describedby="t1 t2 t3">
|
||||||
|
<div id="t2">foo</div>
|
||||||
|
|
||||||
|
<div id="manualMode"></div>
|
||||||
|
<div id="log"></div>
|
||||||
|
<div id="ATTAmessages"></div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,72 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Description title-same-element</title>
|
||||||
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
|
||||||
|
<link rel="stylesheet" href="/resources/testharness.css">
|
||||||
|
<link rel="stylesheet" href="/wai-aria/scripts/manual.css">
|
||||||
|
<script src="/resources/testharness.js"></script>
|
||||||
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
|
<script src="/wai-aria/scripts/ATTAcomm.js"></script>
|
||||||
|
<script>
|
||||||
|
setup({explicit_timeout: true, explicit_done: true });
|
||||||
|
|
||||||
|
var theTest = new ATTAcomm(
|
||||||
|
{
|
||||||
|
"steps" : [
|
||||||
|
{
|
||||||
|
"element" : "test",
|
||||||
|
"test" : {
|
||||||
|
"ATK" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"description",
|
||||||
|
"is",
|
||||||
|
"Description"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"AXAPI" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"AXHelp",
|
||||||
|
"is",
|
||||||
|
"Description"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"IAccessible2" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"accDescription",
|
||||||
|
"is",
|
||||||
|
"Description"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"UIA" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"Description",
|
||||||
|
"is",
|
||||||
|
"Description"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"title" : "step 1",
|
||||||
|
"type" : "test"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title" : "Description title-same-element"
|
||||||
|
}
|
||||||
|
|
||||||
|
) ;
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>This test examines the ARIA properties for Description title-same-element.</p>
|
||||||
|
<div><input aria-label="Name" id="test" title="Title" aria-describedby="ID1" type="text"></div>
|
||||||
|
<div id="ID1">Description</div>
|
||||||
|
|
||||||
|
<div id="manualMode"></div>
|
||||||
|
<div id="log"></div>
|
||||||
|
<div id="ATTAmessages"></div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,71 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Name 1.0 combobox-focusable-alternative</title>
|
||||||
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
|
||||||
|
<link rel="stylesheet" href="/resources/testharness.css">
|
||||||
|
<link rel="stylesheet" href="/wai-aria/scripts/manual.css">
|
||||||
|
<script src="/resources/testharness.js"></script>
|
||||||
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
|
<script src="/wai-aria/scripts/ATTAcomm.js"></script>
|
||||||
|
<script>
|
||||||
|
setup({explicit_timeout: true, explicit_done: true });
|
||||||
|
|
||||||
|
var theTest = new ATTAcomm(
|
||||||
|
{
|
||||||
|
"steps" : [
|
||||||
|
{
|
||||||
|
"element" : "test",
|
||||||
|
"test" : {
|
||||||
|
"ATK" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"name",
|
||||||
|
"is",
|
||||||
|
"Choose your language"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"AXAPI" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"AXDescription",
|
||||||
|
"is",
|
||||||
|
"Choose your language"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"IAccessible2" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"accName",
|
||||||
|
"is",
|
||||||
|
"Choose your language"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"UIA" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"Name",
|
||||||
|
"is",
|
||||||
|
"Choose your language"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"title" : "step 1",
|
||||||
|
"type" : "test"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title" : "Name 1.0 combobox-focusable-alternative"
|
||||||
|
}
|
||||||
|
|
||||||
|
) ;
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>This test examines the ARIA properties for Name 1.0 combobox-focusable-alternative.</p>
|
||||||
|
<input id="test" role="combobox" type="text" title="Choose your language" value="English">
|
||||||
|
|
||||||
|
<div id="manualMode"></div>
|
||||||
|
<div id="log"></div>
|
||||||
|
<div id="ATTAmessages"></div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,73 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Name 1.0 combobox-focusable</title>
|
||||||
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
|
||||||
|
<link rel="stylesheet" href="/resources/testharness.css">
|
||||||
|
<link rel="stylesheet" href="/wai-aria/scripts/manual.css">
|
||||||
|
<script src="/resources/testharness.js"></script>
|
||||||
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
|
<script src="/wai-aria/scripts/ATTAcomm.js"></script>
|
||||||
|
<script>
|
||||||
|
setup({explicit_timeout: true, explicit_done: true });
|
||||||
|
|
||||||
|
var theTest = new ATTAcomm(
|
||||||
|
{
|
||||||
|
"steps" : [
|
||||||
|
{
|
||||||
|
"element" : "test",
|
||||||
|
"test" : {
|
||||||
|
"ATK" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"name",
|
||||||
|
"is",
|
||||||
|
"Choose your language. English"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"AXAPI" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"AXDescription",
|
||||||
|
"is",
|
||||||
|
"Choose your language. English"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"IAccessible2" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"accName",
|
||||||
|
"is",
|
||||||
|
"Choose your language. English"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"UIA" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"Name",
|
||||||
|
"is",
|
||||||
|
"Choose your language. English"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"title" : "step 1",
|
||||||
|
"type" : "test"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title" : "Name 1.0 combobox-focusable"
|
||||||
|
}
|
||||||
|
|
||||||
|
) ;
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>This test examines the ARIA properties for Name 1.0 combobox-focusable.</p>
|
||||||
|
<div id="test" role="combobox" tabindex="0" title="Choose your language.">
|
||||||
|
<span> English </span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="manualMode"></div>
|
||||||
|
<div id="log"></div>
|
||||||
|
<div id="ATTAmessages"></div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,79 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Name checkbox-label-embedded-listbox</title>
|
||||||
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
|
||||||
|
<link rel="stylesheet" href="/resources/testharness.css">
|
||||||
|
<link rel="stylesheet" href="/wai-aria/scripts/manual.css">
|
||||||
|
<script src="/resources/testharness.js"></script>
|
||||||
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
|
<script src="/wai-aria/scripts/ATTAcomm.js"></script>
|
||||||
|
<script>
|
||||||
|
setup({explicit_timeout: true, explicit_done: true });
|
||||||
|
|
||||||
|
var theTest = new ATTAcomm(
|
||||||
|
{
|
||||||
|
"steps" : [
|
||||||
|
{
|
||||||
|
"element" : "test",
|
||||||
|
"test" : {
|
||||||
|
"ATK" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"name",
|
||||||
|
"is",
|
||||||
|
"Flash the screen 1 times."
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"AXAPI" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"AXDescription",
|
||||||
|
"is",
|
||||||
|
"Flash the screen 1 times."
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"IAccessible2" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"accName",
|
||||||
|
"is",
|
||||||
|
"Flash the screen 1 times."
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"UIA" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"Name",
|
||||||
|
"is",
|
||||||
|
"Flash the screen 1 times."
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"title" : "step 1",
|
||||||
|
"type" : "test"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title" : "Name checkbox-label-embedded-listbox"
|
||||||
|
}
|
||||||
|
|
||||||
|
) ;
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>This test examines the ARIA properties for Name checkbox-label-embedded-listbox.</p>
|
||||||
|
<input type="checkbox" id="test" />
|
||||||
|
<label for="test">Flash the screen
|
||||||
|
<ul role="listbox" style="list-style-type: none;">
|
||||||
|
<li role="option" aria-selected="true">1</li>
|
||||||
|
<li role="option">2</li>
|
||||||
|
<li role="option">3</li>
|
||||||
|
</ul>
|
||||||
|
times.
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<div id="manualMode"></div>
|
||||||
|
<div id="log"></div>
|
||||||
|
<div id="ATTAmessages"></div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -22,7 +22,7 @@
|
||||||
"property",
|
"property",
|
||||||
"name",
|
"name",
|
||||||
"is",
|
"is",
|
||||||
"Flash the screen 1 times."
|
"Flash the screen times."
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"AXAPI" : [
|
"AXAPI" : [
|
||||||
|
@ -30,7 +30,7 @@
|
||||||
"property",
|
"property",
|
||||||
"AXDescription",
|
"AXDescription",
|
||||||
"is",
|
"is",
|
||||||
"Flash the screen 1 times."
|
"Flash the screen times."
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"IAccessible2" : [
|
"IAccessible2" : [
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
"property",
|
"property",
|
||||||
"accName",
|
"accName",
|
||||||
"is",
|
"is",
|
||||||
"Flash the screen 1 times."
|
"Flash the screen times."
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"UIA" : [
|
"UIA" : [
|
||||||
|
@ -46,7 +46,7 @@
|
||||||
"property",
|
"property",
|
||||||
"Name",
|
"Name",
|
||||||
"is",
|
"is",
|
||||||
"Flash the screen 1 times."
|
"Flash the screen times."
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
|
@ -0,0 +1,75 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Name checkbox-label-embedded-textbox</title>
|
||||||
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
|
||||||
|
<link rel="stylesheet" href="/resources/testharness.css">
|
||||||
|
<link rel="stylesheet" href="/wai-aria/scripts/manual.css">
|
||||||
|
<script src="/resources/testharness.js"></script>
|
||||||
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
|
<script src="/wai-aria/scripts/ATTAcomm.js"></script>
|
||||||
|
<script>
|
||||||
|
setup({explicit_timeout: true, explicit_done: true });
|
||||||
|
|
||||||
|
var theTest = new ATTAcomm(
|
||||||
|
{
|
||||||
|
"steps" : [
|
||||||
|
{
|
||||||
|
"element" : "test",
|
||||||
|
"test" : {
|
||||||
|
"ATK" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"name",
|
||||||
|
"is",
|
||||||
|
"Flash the screen 1 times."
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"AXAPI" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"AXDescription",
|
||||||
|
"is",
|
||||||
|
"Flash the screen 1 times."
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"IAccessible2" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"accName",
|
||||||
|
"is",
|
||||||
|
"Flash the screen 1 times."
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"UIA" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"Name",
|
||||||
|
"is",
|
||||||
|
"Flash the screen 1 times."
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"title" : "step 1",
|
||||||
|
"type" : "test"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title" : "Name checkbox-label-embedded-textbox"
|
||||||
|
}
|
||||||
|
|
||||||
|
) ;
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>This test examines the ARIA properties for Name checkbox-label-embedded-textbox.</p>
|
||||||
|
<input type="checkbox" id="test" />
|
||||||
|
<label for="test">Flash the screen
|
||||||
|
<div role="textbox" contenteditable>1</div>
|
||||||
|
times.
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<div id="manualMode"></div>
|
||||||
|
<div id="log"></div>
|
||||||
|
<div id="ATTAmessages"></div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,72 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Name checkbox-label-multiple-label-alternative</title>
|
||||||
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
|
||||||
|
<link rel="stylesheet" href="/resources/testharness.css">
|
||||||
|
<link rel="stylesheet" href="/wai-aria/scripts/manual.css">
|
||||||
|
<script src="/resources/testharness.js"></script>
|
||||||
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
|
<script src="/wai-aria/scripts/ATTAcomm.js"></script>
|
||||||
|
<script>
|
||||||
|
setup({explicit_timeout: true, explicit_done: true });
|
||||||
|
|
||||||
|
var theTest = new ATTAcomm(
|
||||||
|
{
|
||||||
|
"steps" : [
|
||||||
|
{
|
||||||
|
"element" : "test",
|
||||||
|
"test" : {
|
||||||
|
"ATK" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"name",
|
||||||
|
"is",
|
||||||
|
"a test"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"AXAPI" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"AXDescription",
|
||||||
|
"is",
|
||||||
|
"a test"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"IAccessible2" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"accName",
|
||||||
|
"is",
|
||||||
|
"a test"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"UIA" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"Name",
|
||||||
|
"is",
|
||||||
|
"a test"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"title" : "step 1",
|
||||||
|
"type" : "test"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title" : "Name checkbox-label-multiple-label-alternative"
|
||||||
|
}
|
||||||
|
|
||||||
|
) ;
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>This test examines the ARIA properties for Name checkbox-label-multiple-label-alternative.</p>
|
||||||
|
<label for="test">a test</label>
|
||||||
|
<label>This <input type="checkbox" id="test" /> is</label>
|
||||||
|
|
||||||
|
<div id="manualMode"></div>
|
||||||
|
<div id="log"></div>
|
||||||
|
<div id="ATTAmessages"></div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,72 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Name checkbox-label-multiple-label</title>
|
||||||
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
|
||||||
|
<link rel="stylesheet" href="/resources/testharness.css">
|
||||||
|
<link rel="stylesheet" href="/wai-aria/scripts/manual.css">
|
||||||
|
<script src="/resources/testharness.js"></script>
|
||||||
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
|
<script src="/wai-aria/scripts/ATTAcomm.js"></script>
|
||||||
|
<script>
|
||||||
|
setup({explicit_timeout: true, explicit_done: true });
|
||||||
|
|
||||||
|
var theTest = new ATTAcomm(
|
||||||
|
{
|
||||||
|
"steps" : [
|
||||||
|
{
|
||||||
|
"element" : "test",
|
||||||
|
"test" : {
|
||||||
|
"ATK" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"name",
|
||||||
|
"is",
|
||||||
|
"a test"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"AXAPI" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"AXDescription",
|
||||||
|
"is",
|
||||||
|
"a test"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"IAccessible2" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"accName",
|
||||||
|
"is",
|
||||||
|
"a test"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"UIA" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"Name",
|
||||||
|
"is",
|
||||||
|
"a test"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"title" : "step 1",
|
||||||
|
"type" : "test"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title" : "Name checkbox-label-multiple-label"
|
||||||
|
}
|
||||||
|
|
||||||
|
) ;
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>This test examines the ARIA properties for Name checkbox-label-multiple-label.</p>
|
||||||
|
<label>This <input type="checkbox" id="test" /> is</label>
|
||||||
|
<label for="test">a test</label>
|
||||||
|
|
||||||
|
<div id="manualMode"></div>
|
||||||
|
<div id="log"></div>
|
||||||
|
<div id="ATTAmessages"></div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -22,7 +22,7 @@
|
||||||
"property",
|
"property",
|
||||||
"name",
|
"name",
|
||||||
"is",
|
"is",
|
||||||
"Flash the screen 1 times."
|
"Flash the screen times."
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"AXAPI" : [
|
"AXAPI" : [
|
||||||
|
@ -30,7 +30,7 @@
|
||||||
"property",
|
"property",
|
||||||
"AXDescription",
|
"AXDescription",
|
||||||
"is",
|
"is",
|
||||||
"Flash the screen 1 times."
|
"Flash the screen times."
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"IAccessible2" : [
|
"IAccessible2" : [
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
"property",
|
"property",
|
||||||
"accName",
|
"accName",
|
||||||
"is",
|
"is",
|
||||||
"Flash the screen 1 times."
|
"Flash the screen times."
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"UIA" : [
|
"UIA" : [
|
||||||
|
@ -46,7 +46,7 @@
|
||||||
"property",
|
"property",
|
||||||
"Name",
|
"Name",
|
||||||
"is",
|
"is",
|
||||||
"Flash the screen 1 times."
|
"Flash the screen times."
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
|
@ -0,0 +1,72 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Name file-label-inline-block-elements</title>
|
||||||
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
|
||||||
|
<link rel="stylesheet" href="/resources/testharness.css">
|
||||||
|
<link rel="stylesheet" href="/wai-aria/scripts/manual.css">
|
||||||
|
<script src="/resources/testharness.js"></script>
|
||||||
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
|
<script src="/wai-aria/scripts/ATTAcomm.js"></script>
|
||||||
|
<script>
|
||||||
|
setup({explicit_timeout: true, explicit_done: true });
|
||||||
|
|
||||||
|
var theTest = new ATTAcomm(
|
||||||
|
{
|
||||||
|
"steps" : [
|
||||||
|
{
|
||||||
|
"element" : "test",
|
||||||
|
"test" : {
|
||||||
|
"ATK" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"name",
|
||||||
|
"is",
|
||||||
|
"What is your name?"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"AXAPI" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"AXDescription",
|
||||||
|
"is",
|
||||||
|
"What is your name?"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"IAccessible2" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"accName",
|
||||||
|
"is",
|
||||||
|
"What is your name?"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"UIA" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"Name",
|
||||||
|
"is",
|
||||||
|
"What is your name?"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"title" : "step 1",
|
||||||
|
"type" : "test"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title" : "Name file-label-inline-block-elements"
|
||||||
|
}
|
||||||
|
|
||||||
|
) ;
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>This test examines the ARIA properties for Name file-label-inline-block-elements.</p>
|
||||||
|
<input type="file" id="test" />
|
||||||
|
<label for="test">W<i>h<b>a</b></i>t<br>is<div>your<div>name<b>?</b></div></div></label>
|
||||||
|
|
||||||
|
<div id="manualMode"></div>
|
||||||
|
<div id="log"></div>
|
||||||
|
<div id="ATTAmessages"></div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,76 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Name file-label-inline-block-styles</title>
|
||||||
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
|
||||||
|
<link rel="stylesheet" href="/resources/testharness.css">
|
||||||
|
<link rel="stylesheet" href="/wai-aria/scripts/manual.css">
|
||||||
|
<script src="/resources/testharness.js"></script>
|
||||||
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
|
<script src="/wai-aria/scripts/ATTAcomm.js"></script>
|
||||||
|
<script>
|
||||||
|
setup({explicit_timeout: true, explicit_done: true });
|
||||||
|
|
||||||
|
var theTest = new ATTAcomm(
|
||||||
|
{
|
||||||
|
"steps" : [
|
||||||
|
{
|
||||||
|
"element" : "test",
|
||||||
|
"test" : {
|
||||||
|
"ATK" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"name",
|
||||||
|
"is",
|
||||||
|
"This is a test."
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"AXAPI" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"AXDescription",
|
||||||
|
"is",
|
||||||
|
"This is a test."
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"IAccessible2" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"accName",
|
||||||
|
"is",
|
||||||
|
"This is a test."
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"UIA" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"Name",
|
||||||
|
"is",
|
||||||
|
"This is a test."
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"title" : "step 1",
|
||||||
|
"type" : "test"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title" : "Name file-label-inline-block-styles"
|
||||||
|
}
|
||||||
|
|
||||||
|
) ;
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>This test examines the ARIA properties for Name file-label-inline-block-styles.</p>
|
||||||
|
<style>
|
||||||
|
label:before { content: "This"; display: block; }
|
||||||
|
label:after { content: "."; }
|
||||||
|
</style>
|
||||||
|
<label for="test">is a test</label>
|
||||||
|
<input type="text" id="test"/>
|
||||||
|
|
||||||
|
<div id="manualMode"></div>
|
||||||
|
<div id="log"></div>
|
||||||
|
<div id="ATTAmessages"></div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,81 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Name file-label-inline-hidden-elements</title>
|
||||||
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
|
||||||
|
<link rel="stylesheet" href="/resources/testharness.css">
|
||||||
|
<link rel="stylesheet" href="/wai-aria/scripts/manual.css">
|
||||||
|
<script src="/resources/testharness.js"></script>
|
||||||
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
|
<script src="/wai-aria/scripts/ATTAcomm.js"></script>
|
||||||
|
<script>
|
||||||
|
setup({explicit_timeout: true, explicit_done: true });
|
||||||
|
|
||||||
|
var theTest = new ATTAcomm(
|
||||||
|
{
|
||||||
|
"steps" : [
|
||||||
|
{
|
||||||
|
"element" : "test",
|
||||||
|
"test" : {
|
||||||
|
"ATK" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"name",
|
||||||
|
"is",
|
||||||
|
"246810"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"AXAPI" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"AXDescription",
|
||||||
|
"is",
|
||||||
|
"246810"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"IAccessible2" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"accName",
|
||||||
|
"is",
|
||||||
|
"246810"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"UIA" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"Name",
|
||||||
|
"is",
|
||||||
|
"246810"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"title" : "step 1",
|
||||||
|
"type" : "test"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title" : "Name file-label-inline-hidden-elements"
|
||||||
|
}
|
||||||
|
|
||||||
|
) ;
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>This test examines the ARIA properties for Name file-label-inline-hidden-elements.</p>
|
||||||
|
<style>
|
||||||
|
.hidden { display: none; }
|
||||||
|
</style>
|
||||||
|
<input type="file" id="test" />
|
||||||
|
<label for="test">
|
||||||
|
<span class="hidden">1</span><span>2</span>
|
||||||
|
<span style="visibility: hidden;">3</span><span>4</span>
|
||||||
|
<span hidden>5</span><span>6</span>
|
||||||
|
<span aria-hidden="true">7</span><span>8</span>
|
||||||
|
<span aria-hidden="false" class="hidden">9</span><span>10</span>
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<div id="manualMode"></div>
|
||||||
|
<div id="log"></div>
|
||||||
|
<div id="ATTAmessages"></div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,82 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Name file-label-owned-combobox</title>
|
||||||
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
|
||||||
|
<link rel="stylesheet" href="/resources/testharness.css">
|
||||||
|
<link rel="stylesheet" href="/wai-aria/scripts/manual.css">
|
||||||
|
<script src="/resources/testharness.js"></script>
|
||||||
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
|
<script src="/wai-aria/scripts/ATTAcomm.js"></script>
|
||||||
|
<script>
|
||||||
|
setup({explicit_timeout: true, explicit_done: true });
|
||||||
|
|
||||||
|
var theTest = new ATTAcomm(
|
||||||
|
{
|
||||||
|
"steps" : [
|
||||||
|
{
|
||||||
|
"element" : "test",
|
||||||
|
"test" : {
|
||||||
|
"ATK" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"name",
|
||||||
|
"is",
|
||||||
|
"Flash the screen 1 times."
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"AXAPI" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"AXDescription",
|
||||||
|
"is",
|
||||||
|
"Flash the screen 1 times."
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"IAccessible2" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"accName",
|
||||||
|
"is",
|
||||||
|
"Flash the screen 1 times."
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"UIA" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"Name",
|
||||||
|
"is",
|
||||||
|
"Flash the screen 1 times."
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"title" : "step 1",
|
||||||
|
"type" : "test"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title" : "Name file-label-owned-combobox"
|
||||||
|
}
|
||||||
|
|
||||||
|
) ;
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>This test examines the ARIA properties for Name file-label-owned-combobox.</p>
|
||||||
|
<input type="file" id="test" />
|
||||||
|
<label for="test">Flash <span aria-owns="id1">the screen</span> times.</label>
|
||||||
|
<div id="id1">
|
||||||
|
<div role="combobox">
|
||||||
|
<div role="textbox"></div>
|
||||||
|
<ul role="listbox" style="list-style-type: none;">
|
||||||
|
<li role="option" aria-selected="true">1 </li>
|
||||||
|
<li role="option">2 </li>
|
||||||
|
<li role="option">3 </li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="manualMode"></div>
|
||||||
|
<div id="log"></div>
|
||||||
|
<div id="ATTAmessages"></div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,84 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Name file-label-owned-combobox-owned-listbox</title>
|
||||||
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
|
||||||
|
<link rel="stylesheet" href="/resources/testharness.css">
|
||||||
|
<link rel="stylesheet" href="/wai-aria/scripts/manual.css">
|
||||||
|
<script src="/resources/testharness.js"></script>
|
||||||
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
|
<script src="/wai-aria/scripts/ATTAcomm.js"></script>
|
||||||
|
<script>
|
||||||
|
setup({explicit_timeout: true, explicit_done: true });
|
||||||
|
|
||||||
|
var theTest = new ATTAcomm(
|
||||||
|
{
|
||||||
|
"steps" : [
|
||||||
|
{
|
||||||
|
"element" : "test",
|
||||||
|
"test" : {
|
||||||
|
"ATK" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"name",
|
||||||
|
"is",
|
||||||
|
"Flash the screen 2 times."
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"AXAPI" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"AXDescription",
|
||||||
|
"is",
|
||||||
|
"Flash the screen 2 times."
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"IAccessible2" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"accName",
|
||||||
|
"is",
|
||||||
|
"Flash the screen 2 times."
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"UIA" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"Name",
|
||||||
|
"is",
|
||||||
|
"Flash the screen 2 times."
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"title" : "step 1",
|
||||||
|
"type" : "test"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title" : "Name file-label-owned-combobox-owned-listbox"
|
||||||
|
}
|
||||||
|
|
||||||
|
) ;
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>This test examines the ARIA properties for Name file-label-owned-combobox-owned-listbox.</p>
|
||||||
|
<input type="file" id="test" />
|
||||||
|
<label for="test">Flash <span aria-owns="id1">the screen</span> times.</label>
|
||||||
|
<div>
|
||||||
|
<div id="id1" role="combobox" aria-owns="id2">
|
||||||
|
<div role="textbox"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<ul id="id2" role="listbox" style="list-style-type: none;">
|
||||||
|
<li role="option" >1 </li>
|
||||||
|
<li role="option" aria-selected="true">2 </li>
|
||||||
|
<li role="option">3 </li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="manualMode"></div>
|
||||||
|
<div id="log"></div>
|
||||||
|
<div id="ATTAmessages"></div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,74 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Name heading-combobox-focusable-alternative</title>
|
||||||
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
|
||||||
|
<link rel="stylesheet" href="/resources/testharness.css">
|
||||||
|
<link rel="stylesheet" href="/wai-aria/scripts/manual.css">
|
||||||
|
<script src="/resources/testharness.js"></script>
|
||||||
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
|
<script src="/wai-aria/scripts/ATTAcomm.js"></script>
|
||||||
|
<script>
|
||||||
|
setup({explicit_timeout: true, explicit_done: true });
|
||||||
|
|
||||||
|
var theTest = new ATTAcomm(
|
||||||
|
{
|
||||||
|
"steps" : [
|
||||||
|
{
|
||||||
|
"element" : "test",
|
||||||
|
"test" : {
|
||||||
|
"ATK" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"name",
|
||||||
|
"is",
|
||||||
|
"Country of origin: United States"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"AXAPI" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"AXDescription",
|
||||||
|
"is",
|
||||||
|
"Country of origin: United States"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"IAccessible2" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"accName",
|
||||||
|
"is",
|
||||||
|
"Country of origin: United States"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"UIA" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"Name",
|
||||||
|
"is",
|
||||||
|
"Country of origin: United States"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"title" : "step 1",
|
||||||
|
"type" : "test"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title" : "Name heading-combobox-focusable-alternative"
|
||||||
|
}
|
||||||
|
|
||||||
|
) ;
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>This test examines the ARIA properties for Name heading-combobox-focusable-alternative.</p>
|
||||||
|
<h2 id="test">
|
||||||
|
Country of origin:
|
||||||
|
<input role="combobox" type="text" title="Choose your country." value="United States">
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
<div id="manualMode"></div>
|
||||||
|
<div id="log"></div>
|
||||||
|
<div id="ATTAmessages"></div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,79 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Name link-mixed-content</title>
|
||||||
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
|
||||||
|
<link rel="stylesheet" href="/resources/testharness.css">
|
||||||
|
<link rel="stylesheet" href="/wai-aria/scripts/manual.css">
|
||||||
|
<script src="/resources/testharness.js"></script>
|
||||||
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
|
<script src="/wai-aria/scripts/ATTAcomm.js"></script>
|
||||||
|
<script>
|
||||||
|
setup({explicit_timeout: true, explicit_done: true });
|
||||||
|
|
||||||
|
var theTest = new ATTAcomm(
|
||||||
|
{
|
||||||
|
"steps" : [
|
||||||
|
{
|
||||||
|
"element" : "test",
|
||||||
|
"test" : {
|
||||||
|
"ATK" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"name",
|
||||||
|
"is",
|
||||||
|
"My name is Garaventa the weird. (QED)"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"AXAPI" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"AXDescription",
|
||||||
|
"is",
|
||||||
|
"My name is Garaventa the weird. (QED)"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"IAccessible2" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"accName",
|
||||||
|
"is",
|
||||||
|
"My name is Garaventa the weird. (QED)"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"UIA" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"Name",
|
||||||
|
"is",
|
||||||
|
"My name is Garaventa the weird. (QED)"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"title" : "step 1",
|
||||||
|
"type" : "test"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title" : "Name link-mixed-content"
|
||||||
|
}
|
||||||
|
|
||||||
|
) ;
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>This test examines the ARIA properties for Name link-mixed-content.</p>
|
||||||
|
<div id="test" role="link" tabindex="0">
|
||||||
|
<span aria-hidden="true"><i> Hello, </i></span>
|
||||||
|
<span>My</span> name is
|
||||||
|
<div><img src="file.jpg" title="Bryan" alt="" role="presentation" /></div>
|
||||||
|
<span role="presentation" aria-label="Eli"><span aria-label="Garaventa">Zambino</span></span>
|
||||||
|
<span>the weird.</span>
|
||||||
|
(<span>Q</span><span>E</span><span>D</span>)
|
||||||
|
<span class="hidden"><i><b>and don't you forget it.</b></i></span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="manualMode"></div>
|
||||||
|
<div id="log"></div>
|
||||||
|
<div id="ATTAmessages"></div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,71 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Name link-with-label</title>
|
||||||
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
|
||||||
|
<link rel="stylesheet" href="/resources/testharness.css">
|
||||||
|
<link rel="stylesheet" href="/wai-aria/scripts/manual.css">
|
||||||
|
<script src="/resources/testharness.js"></script>
|
||||||
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
|
<script src="/wai-aria/scripts/ATTAcomm.js"></script>
|
||||||
|
<script>
|
||||||
|
setup({explicit_timeout: true, explicit_done: true });
|
||||||
|
|
||||||
|
var theTest = new ATTAcomm(
|
||||||
|
{
|
||||||
|
"steps" : [
|
||||||
|
{
|
||||||
|
"element" : "test",
|
||||||
|
"test" : {
|
||||||
|
"ATK" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"name",
|
||||||
|
"is",
|
||||||
|
"California"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"AXAPI" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"AXDescription",
|
||||||
|
"is",
|
||||||
|
"California"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"IAccessible2" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"accName",
|
||||||
|
"is",
|
||||||
|
"California"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"UIA" : [
|
||||||
|
[
|
||||||
|
"property",
|
||||||
|
"Name",
|
||||||
|
"is",
|
||||||
|
"California"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"title" : "step 1",
|
||||||
|
"type" : "test"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title" : "Name link-with-label"
|
||||||
|
}
|
||||||
|
|
||||||
|
) ;
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>This test examines the ARIA properties for Name link-with-label.</p>
|
||||||
|
<a id="test" href="#" aria-label="California" title="San Francisco" >United States</a>
|
||||||
|
|
||||||
|
<div id="manualMode"></div>
|
||||||
|
<div id="log"></div>
|
||||||
|
<div id="ATTAmessages"></div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -22,7 +22,7 @@
|
||||||
"property",
|
"property",
|
||||||
"name",
|
"name",
|
||||||
"is",
|
"is",
|
||||||
"Flash the screen 1 times."
|
"Flash the screen times."
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"AXAPI" : [
|
"AXAPI" : [
|
||||||
|
@ -30,7 +30,7 @@
|
||||||
"property",
|
"property",
|
||||||
"AXDescription",
|
"AXDescription",
|
||||||
"is",
|
"is",
|
||||||
"Flash the screen 1 times."
|
"Flash the screen times."
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"IAccessible2" : [
|
"IAccessible2" : [
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
"property",
|
"property",
|
||||||
"accName",
|
"accName",
|
||||||
"is",
|
"is",
|
||||||
"Flash the screen 1 times."
|
"Flash the screen times."
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"UIA" : [
|
"UIA" : [
|
||||||
|
@ -46,7 +46,7 @@
|
||||||
"property",
|
"property",
|
||||||
"Name",
|
"Name",
|
||||||
"is",
|
"is",
|
||||||
"Flash the screen 1 times."
|
"Flash the screen times."
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
"property",
|
"property",
|
||||||
"name",
|
"name",
|
||||||
"is",
|
"is",
|
||||||
"Flash the screen 1 times."
|
"Flash the screen times."
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"AXAPI" : [
|
"AXAPI" : [
|
||||||
|
@ -30,7 +30,7 @@
|
||||||
"property",
|
"property",
|
||||||
"AXDescription",
|
"AXDescription",
|
||||||
"is",
|
"is",
|
||||||
"Flash the screen 1 times."
|
"Flash the screen times."
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"IAccessible2" : [
|
"IAccessible2" : [
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
"property",
|
"property",
|
||||||
"accName",
|
"accName",
|
||||||
"is",
|
"is",
|
||||||
"Flash the screen 1 times."
|
"Flash the screen times."
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"UIA" : [
|
"UIA" : [
|
||||||
|
@ -46,7 +46,7 @@
|
||||||
"property",
|
"property",
|
||||||
"Name",
|
"Name",
|
||||||
"is",
|
"is",
|
||||||
"Flash the screen 1 times."
|
"Flash the screen times."
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
"property",
|
"property",
|
||||||
"name",
|
"name",
|
||||||
"is",
|
"is",
|
||||||
"Flash the screen 1 times."
|
"Flash the screen times."
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"AXAPI" : [
|
"AXAPI" : [
|
||||||
|
@ -30,7 +30,7 @@
|
||||||
"property",
|
"property",
|
||||||
"AXDescription",
|
"AXDescription",
|
||||||
"is",
|
"is",
|
||||||
"Flash the screen 1 times."
|
"Flash the screen times."
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"IAccessible2" : [
|
"IAccessible2" : [
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
"property",
|
"property",
|
||||||
"accName",
|
"accName",
|
||||||
"is",
|
"is",
|
||||||
"Flash the screen 1 times."
|
"Flash the screen times."
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"UIA" : [
|
"UIA" : [
|
||||||
|
@ -46,7 +46,7 @@
|
||||||
"property",
|
"property",
|
||||||
"Name",
|
"Name",
|
||||||
"is",
|
"is",
|
||||||
"Flash the screen 1 times."
|
"Flash the screen times."
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<script src="/resources/testharness.js"></script>
|
<script src="/resources/testharness.js"></script>
|
||||||
<script src="/resources/testharnessreport.js"></script>
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
<script src="/feature-policy/resources/featurepolicy.js"></script>
|
<script src="/feature-policy/resources/featurepolicy.js"></script>
|
||||||
<script src="/generic-sensor/generic-sensor-feature-policy-test.sub.js"></script>
|
<script src="/sensors/generic-sensor-feature-policy-test.sub.js"></script>
|
||||||
<script>
|
<script>
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<script src="/resources/testharness.js"></script>
|
<script src="/resources/testharness.js"></script>
|
||||||
<script src="/resources/testharnessreport.js"></script>
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
<script src="/feature-policy/resources/featurepolicy.js"></script>
|
<script src="/feature-policy/resources/featurepolicy.js"></script>
|
||||||
<script src="/generic-sensor/generic-sensor-feature-policy-test.sub.js"></script>
|
<script src="/sensors/generic-sensor-feature-policy-test.sub.js"></script>
|
||||||
<script>
|
<script>
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<script src="/resources/testharness.js"></script>
|
<script src="/resources/testharness.js"></script>
|
||||||
<script src="/resources/testharnessreport.js"></script>
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
<script src="/feature-policy/resources/featurepolicy.js"></script>
|
<script src="/feature-policy/resources/featurepolicy.js"></script>
|
||||||
<script src="/generic-sensor/generic-sensor-feature-policy-test.sub.js"></script>
|
<script src="/sensors/generic-sensor-feature-policy-test.sub.js"></script>
|
||||||
<script>
|
<script>
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<script src="/resources/testharness.js"></script>
|
<script src="/resources/testharness.js"></script>
|
||||||
<script src="/resources/testharnessreport.js"></script>
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
<script src="/feature-policy/resources/featurepolicy.js"></script>
|
<script src="/feature-policy/resources/featurepolicy.js"></script>
|
||||||
<script src="/generic-sensor/generic-sensor-feature-policy-test.sub.js"></script>
|
<script src="/sensors/generic-sensor-feature-policy-test.sub.js"></script>
|
||||||
<script>
|
<script>
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<script src="/resources/testharness.js"></script>
|
<script src="/resources/testharness.js"></script>
|
||||||
<script src="/resources/testharnessreport.js"></script>
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
<script src="/feature-policy/resources/featurepolicy.js"></script>
|
<script src="/feature-policy/resources/featurepolicy.js"></script>
|
||||||
<script src="/generic-sensor/generic-sensor-feature-policy-test.sub.js"></script>
|
<script src="/sensors/generic-sensor-feature-policy-test.sub.js"></script>
|
||||||
<script>
|
<script>
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<link rel="help" href="https://www.w3.org/TR/ambient-light/">
|
<link rel="help" href="https://www.w3.org/TR/ambient-light/">
|
||||||
<script src="/resources/testharness.js"></script>
|
<script src="/resources/testharness.js"></script>
|
||||||
<script src="/resources/testharnessreport.js"></script>
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
<script src="/generic-sensor/generic-sensor-tests.js"></script>
|
<script src="/sensors/generic-sensor-tests.js"></script>
|
||||||
<div id="log"></div>
|
<div id="log"></div>
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<link rel="help" href="https://www.w3.org/TR/ambient-light/">
|
<link rel="help" href="https://www.w3.org/TR/ambient-light/">
|
||||||
<script src="/resources/testharness.js"></script>
|
<script src="/resources/testharness.js"></script>
|
||||||
<script src="/resources/testharnessreport.js"></script>
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
<script src="/generic-sensor/generic-sensor-tests.js"></script>
|
<script src="/sensors/generic-sensor-tests.js"></script>
|
||||||
<div id="log"></div>
|
<div id="log"></div>
|
||||||
<h2>Precondition</h2>
|
<h2>Precondition</h2>
|
||||||
<ol>
|
<ol>
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<link rel="help" href="https://www.w3.org/TR/ambient-light/">
|
<link rel="help" href="https://www.w3.org/TR/ambient-light/">
|
||||||
<script src="/resources/testharness.js"></script>
|
<script src="/resources/testharness.js"></script>
|
||||||
<script src="/resources/testharnessreport.js"></script>
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
<script src="/generic-sensor/generic-sensor-tests.js"></script>
|
<script src="/sensors/generic-sensor-tests.js"></script>
|
||||||
<div id="log"></div>
|
<div id="log"></div>
|
||||||
<h2>Precondition</h2>
|
<h2>Precondition</h2>
|
||||||
<ol>
|
<ol>
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue