Constructor: WCAG20NLSSuccessCriterion

OpenAjax.a11y.nls.WCAG20NLSSuccessCriterion

new WCAG20NLSSuccessCriterion(principle, guideline, sc_id, info)

WCAG 2.0 Success Criteria information with properties with localized NLS values

Parameters:
Name Type Description
principle WCAG20NLSPrinciple Principle object reference
guideline WCAG20NLSGuideline Guideline object reference
sc_id String Success criterion ID
info Object Success criterion information object
Properties:
Name Type Description
principle WCAG20NLSPrinciple Principle object reference
guideline WCAG20NLSGuideline Guideline object reference
sc_id String Success criterion ID
title String Title of the success criterion
level String Level of importance of a success criterion
url_spec String URL to information on the success criteria requirement
url_meet String URL to information on how to meet the success criteria requirements
url_understand String URL to information on how to understand the success criteria requirements
resources Array Other information related to the success criterion
Source:
  • scripts/wcag20_nls.js, line 476

Methods

<static> toJSON(prefix) → {String}

Returns an nls JSON representation of wcag 2.0 success criterion information

Parameters:
Name Type Description
prefix String A prefix string typically spaces
Source:
  • scripts/wcag20_nls.js, line 519
Returns:
JSON formatted string
Type
String