Skip to content

Instantly share code, notes, and snippets.

@kevee
Last active December 29, 2015 23:48
Show Gist options
  • Save kevee/7744745 to your computer and use it in GitHub Desktop.
Save kevee/7744745 to your computer and use it in GitHub Desktop.
Sample test yaml.
imgHasAlt:
selector: "img:not(img[alt])"
tags:
- image
- content
testability: 1
type: selector
guidelines:
wcag:
sc: 1.1.1
technique: F65
options:
a: value
b: value
508:
section: a
title:
en: "Title for this test in english"
es: "Título para esta prueba en Inglés"
description:
en: "Please create an alt attribute"
es: "Por favor, cree un atributo \"alt\""
@jessebeach
Copy link

So

guidelines:
    wcag:
        sc: 1.1.1

Just means test against the SC generally.

@kevee
Copy link
Author

kevee commented Dec 4, 2013

Because some tests apply to multiple SCs, I'm going with something more like:

guidelines: 
      508: 
        - "a"
      wcag: 
        1.1.1: 
          techniques: 
            - "F65"
            - "H37"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment