Skip to content
This repository has been archived by the owner on Nov 12, 2020. It is now read-only.
/ accname-test Public archive

collection of test cases for accname

Notifications You must be signed in to change notification settings

xi/accname-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

accname-test

Deprecated: Use WPT instead.

This is a collection of test cases for the Accessible Name and Description Computation. It is just a bunch of HTML files. Feel free to use these in your tests.

You can also use babelacc to find new test cases.

how to write tests

The test files are HTML snippets. They contain the code that should be tested as well as one or more test cases. A test case is a <div> element with the following attributes:

  • class: must be accname-test (required)
  • data-test: the id of the element that should be tested (required)
  • data-name: the expected accessible name (optional)
  • data-description: the expected accessible description (optional)
  • data-comment: can be used to express the intention of this test (optional)

usage

Sample usage can be seen in aria-api.

About

collection of test cases for accname

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published