Warning:
This wiki has been archived and is now read-only.

Selector tests overview

From Automated WCAG Monitoring Community Group
Jump to: navigation, search

This page describes all the advanced selectors and situations tests we need to determine the elements on a page that needs testing.

Advanced selectors / precondition tests

Detects if a table is used for data or layout reasons.

Detects if a table is a complex datatable

Detects if certain elements contain video

  • isUserForm

Detects if a form is used where error suggestion is useful (this excludes search forms)

  • hasLogin

Detects if a webpage has a login, if so this website has user probably data and SC 3.3.4 should get tested (Error Prevention (Legal, Financial, Data))

  • isDecorativeImage

Whether an image is decorative.

Hyperadvanced selectors/ precondition tests

(build upon other precondition tests)

  • Moving, blinking and scrolling content

Refers to content in which the visible content conveys a sense of motion. Common examples include motion pictures, synchronized media presentations, animations, real-time games, and scrolling stock tickers.

  • Auto-updating content

Refers to content that updates or disappears based on a preset time interval. Common time-based content includes audio, automatically updated weather information, news, stock price updates, and auto-advancing presentations and messages.