const wcagObj= { "latestWCAGversion": "2.1", "tests": [ { "successCriteria": "1.1.1 Contenido no textual", "link": "https://www.w3.org/WAI/WCAG21/Understanding/non-text-content.html", "wcagLevel": "A", "wcagVersion": "2.0", "test": "all elements must have an alt attribute", "category": [ "content" ] }, { "successCriteria": "1.1.1 Contenido no textual", "link": "https://www.w3.org/WAI/WCAG21/Understanding/non-text-content.html", "wcagLevel": "A", "wcagVersion": "2.0", "test": "all descriptive elements must have a succinct description of the image using alt text, aria-label or aria-labelledby", "category": [ "content" ] }, { "successCriteria": "1.1.1 Contenido no textual", "link": "https://www.w3.org/WAI/WCAG21/Understanding/non-text-content.html", "wcagLevel": "A", "wcagVersion": "2.0", "test": "all complex descriptive element descriptions must be provided adjacent to the image or on a separate page", "category": [ "content" ] }, { "successCriteria": "1.1.1 Contenido no textual", "link": "https://www.w3.org/WAI/WCAG21/Understanding/non-text-content.html", "wcagLevel": "A", "wcagVersion": "2.0", "test": "all controls have an accessible name describing its purpose (often but not always a programmatically linked label)", "category": [ "custom-controls", "forms-and-UI" ] }, { "successCriteria": "1.1.1 Contenido no textual", "link": "https://www.w3.org/WAI/WCAG21/Understanding/non-text-content.html", "wcagLevel": "A", "wcagVersion": "2.0", "test": "two different modalities of CAPTCHA are provided", "category": [ "content" ] }, { "successCriteria": "1.1.1 Contenido no textual", "link": "https://www.w3.org/WAI/WCAG21/Understanding/non-text-content.html", "wcagLevel": "A", "wcagVersion": "2.0", "test": "or, providing access to a human to bypass CAPTCHA", "category": [ "content" ] }, { "successCriteria": "1.1.1 Contenido no textual", "link": "https://www.w3.org/WAI/WCAG21/Understanding/non-text-content.html", "wcagLevel": "A", "wcagVersion": "2.0", "test": "or, not requiring CAPTCHA for authorised users", "category": [ "content" ] }, { "successCriteria": "1.1.1 Contenido no textual", "link": "https://www.w3.org/WAI/WCAG21/Understanding/non-text-content.html", "wcagLevel": "A", "wcagVersion": "2.0", "test": "a text alternative is provided for charts and graphs", "category": [ "content" ] }, { "successCriteria": "1.1.1 Contenido no textual", "link": "https://www.w3.org/WAI/WCAG21/Understanding/non-text-content.html", "wcagLevel": "A", "wcagVersion": "2.0", "test": "a text or exercise invalid if presented in text has text identification describing the non-text content", "category": [ "content" ] }, { "successCriteria": "1.2.1 Sólo audio y sólo vídeo (pregrabado)", "link": "https://www.w3.org/WAI/WCAG21/Understanding/audio-only-and-video-only-prerecorded.html", "wcagLevel": "A", "wcagVersion": "2.0", "test": "pre-recorded video with no dialogue must come with easily reached text or audio description of what happens visually", "category": [ "audio-video" ] }, { "successCriteria": "1.2.1 Sólo audio y sólo vídeo (pregrabado)", "link": "https://www.w3.org/WAI/WCAG21/Understanding/audio-only-and-video-only-prerecorded.html", "wcagLevel": "A", "wcagVersion": "2.0", "test": "pre-recorded audio must come with easily reached text transcript", "category": [ "audio-video" ] }, { "successCriteria": "1.2.2 Subtítulos (pregrabados)", "link": "https://www.w3.org/WAI/WCAG21/Understanding/captions-prerecorded.html", "wcagLevel": "A", "wcagVersion": "2.0", "test": "video must come with synchronised captions of dialogue, who is speaking and non-speech information including meaningful sound effects", "category": [ "audio-video" ] }, { "successCriteria": "1.2.3 Audiodescripción o medios alternativos (pregrabados)", "link": "https://www.w3.org/WAI/WCAG21/Understanding/audio-description-or-media-alternative-prerecorded.html", "wcagLevel": "A", "wcagVersion": "2.0", "test": "pre-recorded video containing essential information conveyed visually must come with easily reached full-text alternative describing important visual details", "category": [ "audio-video" ] }, { "successCriteria": "1.2.3 Audiodescripción o medios alternativos (pregrabados)", "link": "https://www.w3.org/WAI/WCAG21/Understanding/audio-description-or-media-alternative-prerecorded.html", "wcagLevel": "A", "wcagVersion": "2.0", "test": "or, an audio description track is provided", "category": [ "audio-video" ] }, { "successCriteria": "1.2.4 Subtítulos (en directo)", "link": "https://www.w3.org/WAI/WCAG21/Understanding/captions-live.html", "wcagLevel": "AA", "wcagVersion": "2.0", "test": "live audio content must have text-based synchronised captions", "category": [ "audio-video" ] }, { "successCriteria": "1.2.5 Descripción de audio (pregrabada)", "link": "https://www.w3.org/WAI/WCAG21/Understanding/audio-description-prerecorded.html", "wcagLevel": "AA", "wcagVersion": "2.0", "test": "video containing essential information conveyed visually must have a synchronised audio description soundtrack", "category": [ "audio-video" ] }, { "successCriteria": "1.3.1 Información y relaciones", "link": "https://www.w3.org/WAI/WCAG21/Understanding/info-and-relationships.html", "wcagLevel": "A", "wcagVersion": "2.0", "test": "elements must be used according to their semantics not how they appear", "category": [ "content" ] }, { "successCriteria": "1.3.1 Información y relaciones", "link": "https://www.w3.org/WAI/WCAG21/Understanding/info-and-relationships.html", "wcagLevel": "A", "wcagVersion": "2.0", "test": "data tables must have header cells created using the element", "category": [ "content" ] }, { "successCriteria": "1.3.1 Información y relaciones", "link": "https://www.w3.org/WAI/WCAG21/Understanding/info-and-relationships.html", "wcagLevel": "A", "wcagVersion": "2.0", "test": "data tables must have a caption element with a concise description of the contents", "category": [ "content" ] }, { "successCriteria": "1.3.1 Información y relaciones", "link": "https://www.w3.org/WAI/WCAG21/Understanding/info-and-relationships.html", "wcagLevel": "A", "wcagVersion": "2.0", "test": "labels must be programmatically associated to form controls using a