Constructor: WCAG20NLSPrinciple

OpenAjax.a11y.nls.WCAG20NLSPrinciple

new WCAG20NLSPrinciple(principle_id, info)

WCAg 2.0 Principle information with properties with localized NLS values

Parameters:
Name Type Description
principle_id Object Principle id
info Object Principle information
Properties:
Name Type Description
principle_id String Principle id
title String Title of the principle
description String Description of principle
url_spec String URL to information on the requirement
guidelines Array Array of WCAG 2.0 guideline objects associated with the principle
Source:
  • scripts/wcag20_nls.js, line 333

Methods

<static> toJSON(prefix) → {String}

Returns an nls JSON representation of wcag 2.0 principle information

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