OAA HEADING_13: Title text must contain more than one word.

Rulesets

WCAG 2.0 Requirement 2.4.2 Page Titled
Status: Accepted
Severity: Violation
Priority: Priority 1
IITAA 1.0 10.1 Provide labels or titles for all form fields.
Type:
Severity: Violation
Priority: Priority 1
Status: Accepted

Markup References

Validation Code

Message

Title text must contain more than one word.

Dependencies

None

Context

document

Parameters

None

Code

function (ruleContext) {
   var passed = xbrowser.getTextContent(ruleContext).trim().indexOf(' ') > 0;
   return new ValidationResult(passed, [ruleContext], [], '', []);
}