-
Notifications
You must be signed in to change notification settings - Fork 19
/
criteria-native.json
30 lines (30 loc) · 1.55 KB
/
criteria-native.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
layout: none
title: JSON criteria native
---
[
{% for page in site.checklist-native %}
{
"title" : "{{ page.title | escape }}",
"categories" : "{{ page.categories }}",
"url" : "{{ page.url | absolute_url }}",
"id" : "{{ page.url | replace_first: '/', '' | replace: '/', '-' | replace: '.html', 'test' }}json",
"compact" : [
"How to test {% assign firstLetter = page.title | downcase | slice: 0 %}{% if firstLetter == 'a' or firstLetter== 'e' or firstLetter== 'i' or firstLetter== 'i' or firstLetter== 'u' %}an{% else %}a{% endif %} {{ page.title | escape | downcase }}",
"1. Test keyboard only, then keyboard + screenreader",
{% for action in page.keyboard -%}
"- {{ action[0] | capitalize }}: {{ action[1] | escape | strip_newlines }}",
{% endfor -%}
"2. Test mobile screenreader gestures",
{% for gesture in page.mobile -%}
"- {{ gesture[0] | capitalize }}: {{ gesture[1] | escape | strip_newlines }}",
{% endfor -%}
"3. Listen to screenreader output on all devices",
{% for output in page.screenreader -%}
"- {{ output[0] | capitalize }}: {{ output[1] | escape | strip_newlines }}",
{% endfor -%}
"Full information: {{ page.url | absolute_url | replace: '.html', '/' | strip_newlines }}"
]
} {% unless forloop.last %},{% endunless %}
{%- endfor -%}
]