Skip to content
This repository was archived by the owner on Aug 2, 2024. It is now read-only.

Commit c399416

Browse files
authored
Release 2.0.0 (#322)
- Add support for WCAG 2.1 - Add WCAG version selection at scope step - Add WCAG version filter at audit step - Add compatibility with previous saved reports when opening a report - Add new feature import; (add data from other evaluation reports) - Update W3C/WAI logo and navbar styles
1 parent 1245ce8 commit c399416

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+7179
-1051
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ root = true
1111
indent_style = space
1212
indent_size = 2
1313

14+
[*.json]
15+
indent_size = 4
16+
1417
# We recommend you to keep these unchanged
1518
end_of_line = lf
1619
charset = utf-8

app/images/Thumbs.db

-19.5 KB
Binary file not shown.

app/images/w3c.png

-3.4 KB
Binary file not shown.

app/images/w3c.svg

Lines changed: 1 addition & 0 deletions
Loading

app/images/wai.png

-4.47 KB
Binary file not shown.

app/images/wai.svg

Lines changed: 1 addition & 0 deletions
Loading

app/index.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,16 @@
4949
<script src="scripts/services/changeLanguage.js"></script>
5050
<script src="scripts/services/context/evalContextV1.js"></script>
5151
<script src="scripts/services/context/evalContextV2.js"></script>
52+
<script src="scripts/services/context/evalContextV3.js"></script>
5253
<script src="scripts/services/knownTechnologies.js"></script>
5354
<script src="scripts/services/reportStorage.js"></script>
5455
<script src="scripts/services/evalLoader.js"></script>
5556
<script src="scripts/services/evalWindow.js"></script>
5657
<script src="scripts/services/fileReader.js"></script>
5758
<script src="scripts/services/showSave.js"></script>
59+
<script src="scripts/services/wcagSpecIdMap.js"></script>
60+
<script src="scripts/services/types.js"></script>
61+
<script src="scripts/services/helpers/isObjectLiteral.js"></script>
5862

5963
<script src="scripts/directives/criterion/criterionBody.js"></script>
6064
<script src="scripts/directives/criterion/earlAssert.js"></script>
@@ -109,6 +113,7 @@
109113
<script src="scripts/controllers/evaluation/report.js"></script>
110114
<script src="scripts/controllers/viewReport.js"></script>
111115
<script src="scripts/controllers/open.js"></script>
116+
<script src="scripts/controllers/import.js"></script>
112117
<script src="scripts/controllers/save.js"></script>
113118
<script src="scripts/controllers/report/score.js"></script>
114119
<script src="scripts/controllers/report/findings.js"></script>

app/locale/EN/audit.json

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,32 @@
11
{
2-
"TITLE": "Step 4: Audit the Selected Sample",
3-
"INTRO": "Record the outcome from evaluating the web pages selected in the previous step. Compare the results between the structured page and randomly selected pages, and if needed, adjust the selected sample in the previous step. More guidance on this step is provided in <a href={{link_em_4}}>WCAG-EM Step 4: Audit the Selected Sample</a>. <br> <strong>Note:</strong> For each WCAG 2.0 success criteria, you can enter 'Results for the entire sample' and you can enter results for individual web pages. You can choose to enter either or both. To enter individual results, select the web page(s) under 'Sample to Evaluate' (in the left column); then under the specific success criteria, select 'Show web pages to enter individual results'",
4-
"INTRO_0": "",
5-
"HD_SAMPLE_SELECT": "Sample to Evaluate",
6-
"INF_AUDIT_SAMPLE": "This section lists the web pages you selected in the previous step. The web pages that are checked in this section are listed when 'Show web pages to enter individual results' is activated in the 'Success Criteria to Evaluate' section. You can show an individual web page that you are evaluating, or show several web pages at the same time. <br> The chainlink icon opens the web page in a separate browser window.",
2+
"BTN_COLLAPSE_PAGES": "Hide web pages to enter individual results",
73
"BTN_COMPLETE_SELECTED": "Set selected to complete",
8-
"BTN_UNCOMPLETE_SELECTED": "Set selected to incomplete",
4+
"BTN_EXPAND_PAGES": "Show web pages to enter individual results",
95
"BTN_OPEN_SELECTED": "Open selected pages",
10-
"NO_SAMPLE": "No sample available. Create a sample in step 2 and step 3.",
11-
"TESTED": "Tested",
12-
"HD_CRITERIA": "Success Criteria to Evaluate",
13-
"INF_AUDIT_CRITERIA": "This section lists the WCAG 2.0 success criteria. Use the filter to show or hide success criteria of different levels (A, AA and AAA). You can select results as: 'Not checked', 'Passed', 'Failed', 'Not present', and 'Cannot tell'; and you can provide details, comments, or other observations made during evaluation in the accompanying text box.",
14-
"FILTER": "Filter",
15-
"PRINCIPLE": "Principle",
16-
"NOTE": "Note",
176
"BTN_SHOW_TEXT": "Show criterion text",
18-
"UNDERSTAND": "Understanding",
7+
"BTN_UNCOMPLETE_SELECTED": "Set selected to incomplete",
8+
"CLICK_TO_DELETE": "Click to delete",
9+
"FILTER": "Show",
10+
"FILTER_NEW_IN_WCAG21": "Added in WCAG 2.1",
11+
"HD_CRITERIA": "Success Criteria to Evaluate",
12+
"HD_SAMPLE_SELECT": "Sample to Evaluate",
1913
"HOW_TO": "How to meet",
20-
"SAMPLE_FINDINGS": "Results for the entire sample",
21-
"BTN_EXPAND_PAGES": "Show web pages to enter individual results",
22-
"BTN_COLLAPSE_PAGES": "Hide web pages to enter individual results",
14+
"INF_AUDIT_CRITERIA": "This section lists the WCAG 2 success criteria. Use the filter to show or hide success criteria of different levels (A, AA and AAA). You can select results as: 'Not checked', 'Passed', 'Failed', 'Not present', and 'Cannot tell'; and you can provide details, comments, or other observations made during evaluation in the accompanying text box.",
15+
"INF_AUDIT_SAMPLE": "This section lists the web pages you selected in the previous step. The web pages that are checked in this section are listed when 'Show web pages to enter individual results' is activated in the 'Success Criteria to Evaluate' section. You can show an individual web page that you are evaluating, or show several web pages at the same time. <br> The chainlink icon opens the web page in a separate browser window.",
16+
"INTRO_0": "",
17+
"INTRO": "Record the outcome from evaluating the web pages selected in the previous step. Compare the results between the structured page and randomly selected pages, and if needed, adjust the selected sample in the previous step. More guidance on this step is provided in <a href={{link_em_4}}>WCAG-EM Step 4: Audit the Selected Sample</a>. <br> <strong>Note:</strong> For each WCAG 2 success criteria, you can enter 'Results for the entire sample' and you can enter results for individual web pages. You can choose to enter either or both. To enter individual results, select the web page(s) under 'Sample to Evaluate' (in the left column); then under the specific success criteria, select 'Show web pages to enter individual results'",
2318
"LABEL_OUTCOME": "Outcome",
24-
"UNTESTED": "{{critCount}} untested",
19+
"LABEL_PAGE_HANDLE": "Short page name",
2520
"NO_PAGE_SELECTED": "No pages selected under Sample to Evaluate",
21+
"NO_SAMPLE": "No sample available. Create a sample in step 2 and step 3.",
22+
"NOTE": "Note",
2623
"PLH_ASSERT_DESC": "Observations made during evaluation",
27-
"CLICK_TO_DELETE": "Click to delete",
28-
"LABEL_PAGE_HANDLE": "Short page name",
24+
"PRINCIPLE": "Principle",
25+
"RESULTS_FOR": "Results for",
26+
"SAMPLE_FINDINGS": "Results for the entire sample",
2927
"SELECT_ALL": "Select all web pages",
30-
"RESULTS_FOR": "Results for"
31-
}
28+
"TESTED": "Tested",
29+
"TITLE": "Step 4: Audit the Selected Sample",
30+
"UNDERSTAND": "Understanding",
31+
"UNTESTED": "{{critCount}} untested"
32+
}

app/locale/EN/explore.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"TITLE": "Step 2: Explore the Target Website",
33
"INTRO": "Explore the website to understand its purpose, functionality, and use. This step helps you determine which web pages to use for the evaluation in the next steps. Identify the web technologies used to provide the website and, if you want, take notes on other aspects of the website. Usually it is best to get input from the website owners and developers for this step. More guidance on this step is provided in <a href={{link_em_2}}>WCAG-EM Step 2: Explore the Target Website</a>.",
44
"HD_RELIEDUP_TECH": "Web Technologies Relied Upon",
5-
"INF_RELIEDUP_TECH": "Identify the web technologies <a href={{link_relied_upon}}>relied upon according to WCAG 2.0</a> to provide the website. For more information, see <a href={{link_em_2d}}>WCAG-EM Step 2.d: Identify Web Technologies Relied Upon</a>.<br> Note: To add other technologies, select 'Others' and use the 'Web Technology' and 'Specification Address (URL)' field. The 'Specification Address (URL)' field should identify the web technology specification.",
5+
"INF_RELIEDUP_TECH": "Identify the web technologies <a href={{link_relied_upon}}>relied upon according to WCAG 2</a> to provide the website. For more information, see <a href={{link_em_2d}}>WCAG-EM Step 2.d: Identify Web Technologies Relied Upon</a>.<br> Note: To add other technologies, select 'Others' and use the 'Web Technology' and 'Specification Address (URL)' field. The 'Specification Address (URL)' field should identify the web technology specification.",
66
"LABEL_TECH": "Web Technology",
77
"LABEL_TECH_SPEC": "Specification Address (URL)",
88
"PLH_TECH": "E.g. HTML5, CSS, DOM",
@@ -16,4 +16,4 @@
1616
"LABEL_VARIETY_PAGE_TYPES": "Variety of web page types",
1717
"INF_VARIETY_PAGE_TYPES": "You can use this field to take notes about the types (as opposed to instances) of web pages that you find on the web site. This includes notes about different styles, layouts, structures, and functionality provided on the website. For more information, see <a href={{link_em_2c}}>WCAG-EM Step 2.c: Identify the Variety of Web Page Types</a>.<br> Note: 'Web pages' include different 'web page states'; see definition of <a href={{link_page_state}}>web page states</a>.",
1818
"LABEL_OTHER": "Others..."
19-
}
19+
}

app/locale/EN/import.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"TITLE": "Import a WCAG EARL report",
3+
"INTRO": "If you have used another application to generate a WCAG EARL-report that falls into the scope of this evaluation, you may be able to import these and add them to the evaluation audit result. The file itself should be: JSON-LD parseable, consist of objects in EARL format and evaluation tests should be related to WCAG.",
4+
"LABEL_SELECT_FILE": "Select a JSON-LD file"
5+
}

0 commit comments

Comments
 (0)