From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- .../web-platform/tests/html-longdesc/README.html | 109 +++++++++++++++++++++ 1 file changed, 109 insertions(+) create mode 100644 testing/web-platform/tests/html-longdesc/README.html (limited to 'testing/web-platform/tests/html-longdesc/README.html') diff --git a/testing/web-platform/tests/html-longdesc/README.html b/testing/web-platform/tests/html-longdesc/README.html new file mode 100644 index 000000000..c4779a229 --- /dev/null +++ b/testing/web-platform/tests/html-longdesc/README.html @@ -0,0 +1,109 @@ + + + + + + +Multifunction tests + + + +

longdesc-tests

+ +

Proposed tests for the HTML Image Description Extension specification. These tests are © chaals, and available under the W3C Software license

+ +

Multifunction tests

+ +

These 15 tests include descriptions under different combinations of circumstances - images included "normally", as data: URIs, or missing, with the descriptions internal or external to the page, as a data: URI, or in a location only reachable by taking into account the base element.

+ +

The same tests are used to provide 3 results: +1 Can the user discover there is an image that has a long description available? +2 Can the user access the description? To pass, the user should arrive at the "pass page" which has a heading "Pass" followed by a description, or the focus must be on the text "Pass, if the focus is here" which is followed by a description of the image. +3 Is the long description available to system accessibility APIs

+ +

Longdesc value as data:URI

+ + + + +

Longdesc value as external URI

+ + + + +

Longdesc value as internal URI (same page link)

+ + + + +

Longdesc value as a fragment in an external resource

+ + + + +

Longdesc value as external URI in presence of <base> element

+ + + + +

Longdesc for an image within an iframe

+ + + + +

Automated tests

+ +

Longdesc value updated by javascript tests that the HTML attribute reflects changes made by javascript. To pass, the browser must redirect to the "Longdesc test Pass Page" which has the word "Pass" as a heading, followed by a description of the image. Displaying the "Longdesc test Fail Page" would indicate a failure of this test.

+ +

Validation / Repair tool tests

+ +

Invalid long description (plain text) contains an invalid long description (plain text) and can be used to test User Agent and validation tool handling. NOTE: Handling of invalid longdescs by user agents is currently undefined. +Invalid long description (empty attribute) contains an invalid long description (plain text) and can be used to test User Agent and validation tool handling. NOTE: Handling of invalid longdescs by user agents is currently undefined. +Pointer to an invalid long description (not contained in a well-formed fragment) points to a long description in a page fragment whose target is an empty element. Validation tools should at least generate a warning, since an empty element is almost certainly not an adequate description, and is likely instead to reflect not passing the relevant authoring requirement.

+ +

Test results

+ +

Preliminary test results are available for some platforms. More results are welcome.

+ +

Supporting files

+ +

The following files are required to make one or more of the tests work:

+ + + + + \ No newline at end of file -- cgit v1.2.3