Skip to content

Commit

Permalink
Merge branch 'main' into patrickhlauke-techniques-lists
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickhlauke authored Mar 12, 2024
2 parents 52b808d + 3f488cd commit c4ed66c
Show file tree
Hide file tree
Showing 356 changed files with 1,960 additions and 2,769 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,13 +179,13 @@ To create a working example:

## Translations

WCAG 2.1 is ready for translation. WCAG 2.2 is still under development so should not be translated yet. To translate WCAG 2.1, ensure you are set up to use [GitHub](https://github.com/), then:
WCAG 2.2 is ready for translation. To translate WCAG 2.2, ensure you are set up to use [GitHub](https://github.com/), then:

* [Fork](https://docs.github.com/en/free-pro-team@latest/github/getting-started-with-github/fork-a-repo) the w3c/wcag repository.
* Change to the [branch](https://docs.github.com/en/free-pro-team@latest/github/collaborating-with-issues-and-pull-requests/about-branches) "WCAG-2.1".
* Change to the [branch](https://docs.github.com/en/free-pro-team@latest/github/collaborating-with-issues-and-pull-requests/about-branches) "WCAG-2.2".
* Create a new branch from this branch.
* Translate all user-oriented content in the "guidelines" folder, including the sub-folders. User-oriented content includes text in elements, and attributes such as "title" and "alt" that provide content to users. **Leave other markup as is.**
* Load the index.html document in a modern browser and allow the script to compile the content and format it.
* Activate the "Respec" link in the top right corner, and choose "Export...", then the "HTML" option.
* Edit the resulting file to translate text that was inserted by the script.
* Edit the file to meet the requirements of the [W3C Authorized Translations](https://www.w3.org/2005/02/TranslationPolicy) process.
* Edit the file to meet the requirements of the [W3C Authorized Translations](https://www.w3.org/2005/02/TranslationPolicy) process.
4 changes: 2 additions & 2 deletions acknowledgements/funders.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<section>
<section id="enabling-funders">
<h2>Enabling funders</h2>
<p>This publication has been funded in part with U.S. Federal funds from the Health and Human Services, National Institute on Disability, Independent Living, and Rehabilitation Research (NIDILRR), initially under contract number ED-OSE-10-C-0067, then under contract number HHSP23301500054C, and now under HHS75P00120P00168. The content of this publication does not necessarily reflect the views or policies of the U.S. Department of Health and Human Services or the U.S. Department of Education, nor does mention of trade names, commercial products, or organizations imply endorsement by the U.S. Government.</p>
</section>
</section>
2 changes: 1 addition & 1 deletion conformance-challenges/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ <h3>Mitigations</h3>
</section>
<section id="Challenge-2">
<h2>Challenge #2: Large, complex, and dynamic websites may have too many changing permutations to validate effectively</h2>
<p>Large websites often have complex content publishing pipelines, which may render content dynamically depending upon a large number of variables (such as what is known about the logged in user and her content preferences, the geographical location that the user is visiting the site from, and the capabilities of the web rendering agent being used). It is difficult, and may not be feasible, to validate every possible publishing permutation with a page-level test, each of which can have an impact on whether that particular rendering of the content at that particular moment conforms.</p>
<p>Large websites often have complex content publishing pipelines, which may render content dynamically depending upon a large number of variables (such as what is known about logged in users and their content preferences, the geographical location that the users are visiting the site from, and the capabilities of the web rendering agent being used). It is difficult, and may not be feasible, to validate every possible publishing permutation with a page-level test, each of which can have an impact on whether that particular rendering of the content at that particular moment conforms.</p>

<section class="mitigation">
<h3>Mitigations</h3>
Expand Down
10 changes: 7 additions & 3 deletions css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,16 @@ dt div {
}

.note {
background: var(--off-white);
padding: 1em;
border: 1px solid var(--cloudy);
padding: 0em 1em;
margin-bottom: 1em;
}
.note-title {
font-weight: bold;
margin: 0;
}

.note p {
margin-top: 0;
}

/* import inline styles from https://www.w3.org/WAI/drafts/WCAG-understanding-redesign-hack.html */
Expand Down
156 changes: 78 additions & 78 deletions guidelines/act-mapping.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
{
"act-rules": [
{
"title": "ARIA attribute is defined in WAI-ARIA",
"permalink": "/standards-guidelines/act/rules/5f99a7/",
"successCriteria": [
"info-and-relationships",
"name-role-value"
],
"wcagTechniques": [],
"deprecated": false,
"proposed": false
},
{
"title": "ARIA state or property has valid value",
"permalink": "/standards-guidelines/act/rules/6a7281/",
"successCriteria": [
"info-and-relationships",
"name-role-value"
],
"wcagTechniques": [],
"deprecated": false,
"proposed": false
},
{
"title": "Autocomplete attribute has valid value",
"permalink": "/standards-guidelines/act/rules/73f2c2/",
Expand Down Expand Up @@ -92,6 +114,17 @@
"deprecated": false,
"proposed": false
},
{
"title": "HTML images contain no text",
"permalink": "/standards-guidelines/act/rules/0va7u6/",
"successCriteria": [
"images-of-text",
"images-of-text-no-exception"
],
"wcagTechniques": [],
"deprecated": false,
"proposed": false
},
{
"title": "HTML page has lang attribute",
"permalink": "/standards-guidelines/act/rules/b5c3f8/",
Expand All @@ -117,16 +150,6 @@
"deprecated": false,
"proposed": false
},
{
"title": "HTML page lang and xml:lang attributes have matching values",
"permalink": "/standards-guidelines/act/rules/5b7ae0/",
"successCriteria": [
"language-of-page"
],
"wcagTechniques": [],
"deprecated": true,
"proposed": false
},
{
"title": "HTML page lang attribute has valid language tag",
"permalink": "/standards-guidelines/act/rules/bf051a/",
Expand Down Expand Up @@ -215,13 +238,23 @@
"proposed": false
},
{
"title": "Line height in style attributes is not !important",
"title": "Important line height in style attributes is wide enough",
"permalink": "/standards-guidelines/act/rules/78fd32/",
"successCriteria": [
"text-spacing"
],
"wcagTechniques": [],
"deprecated": true,
"deprecated": false,
"proposed": false
},
{
"title": "Important word spacing in style attributes is wide enough",
"permalink": "/standards-guidelines/act/rules/9e45ec/",
"successCriteria": [
"text-spacing"
],
"wcagTechniques": [],
"deprecated": false,
"proposed": false
},
{
Expand Down Expand Up @@ -264,6 +297,21 @@
"deprecated": false,
"proposed": false
},
{
"title": "Meta element has no refresh delay (no exception)",
"permalink": "/standards-guidelines/act/rules/bisz58/",
"successCriteria": [
"interruptions",
"change-on-request",
"timing-adjustable"
],
"wcagTechniques": [
"G110",
"H76"
],
"deprecated": false,
"proposed": false
},
{
"title": "Meta viewport allows for zoom",
"permalink": "/standards-guidelines/act/rules/b4f0c3/",
Expand All @@ -285,6 +333,20 @@
"deprecated": false,
"proposed": false
},
{
"title": "Role attribute has valid value",
"permalink": "/standards-guidelines/act/rules/674b10/",
"successCriteria": [
"info-and-relationships",
"name-role-value"
],
"wcagTechniques": [
"ARIA4",
"G108"
],
"deprecated": false,
"proposed": false
},
{
"title": "Scrollable content can be reached with sequential focus navigation",
"permalink": "/standards-guidelines/act/rules/0ssw9k/",
Expand Down Expand Up @@ -333,27 +395,6 @@
"deprecated": false,
"proposed": false
},
{
"title": "Word spacing in style attributes is not !important",
"permalink": "/standards-guidelines/act/rules/9e45ec/",
"successCriteria": [
"text-spacing"
],
"wcagTechniques": [],
"deprecated": true,
"proposed": false
},
{
"title": "ARIA attribute is defined in WAI-ARIA",
"permalink": "/standards-guidelines/act/rules/5f99a7/proposed/",
"successCriteria": [
"info-and-relationships",
"name-role-value"
],
"wcagTechniques": [],
"deprecated": false,
"proposed": true
},
{
"title": "ARIA required context role",
"permalink": "/standards-guidelines/act/rules/ff89c9/proposed/",
Expand Down Expand Up @@ -385,17 +426,6 @@
"deprecated": false,
"proposed": true
},
{
"title": "ARIA state or property has valid value",
"permalink": "/standards-guidelines/act/rules/6a7281/proposed/",
"successCriteria": [
"info-and-relationships",
"name-role-value"
],
"wcagTechniques": [],
"deprecated": false,
"proposed": true
},
{
"title": "ARIA state or property is permitted",
"permalink": "/standards-guidelines/act/rules/5c01ea/proposed/",
Expand Down Expand Up @@ -677,14 +707,13 @@
"proposed": true
},
{
"title": "HTML images contain no text",
"permalink": "/standards-guidelines/act/rules/0va7u6/proposed/",
"title": "HTML page lang and xml:lang attributes have matching values",
"permalink": "/standards-guidelines/act/rules/5b7ae0/proposed/",
"successCriteria": [
"images-of-text",
"images-of-text-no-exception"
"language-of-page"
],
"wcagTechniques": [],
"deprecated": false,
"deprecated": true,
"proposed": true
},
{
Expand Down Expand Up @@ -796,21 +825,6 @@
"deprecated": false,
"proposed": true
},
{
"title": "Meta element has no refresh delay (no exception)",
"permalink": "/standards-guidelines/act/rules/bisz58/proposed/",
"successCriteria": [
"interruptions",
"change-on-request",
"timing-adjustable"
],
"wcagTechniques": [
"G110",
"H76"
],
"deprecated": false,
"proposed": true
},
{
"title": "No keyboard shortcut uses only printable characters",
"permalink": "/standards-guidelines/act/rules/ffbc54/proposed/",
Expand All @@ -831,20 +845,6 @@
"deprecated": false,
"proposed": true
},
{
"title": "Role attribute has valid value",
"permalink": "/standards-guidelines/act/rules/674b10/proposed/",
"successCriteria": [
"info-and-relationships",
"name-role-value"
],
"wcagTechniques": [
"ARIA4",
"G108"
],
"deprecated": false,
"proposed": true
},
{
"title": "Table header cell has assigned cells",
"permalink": "/standards-guidelines/act/rules/d0f69e/proposed/",
Expand Down
Loading

0 comments on commit c4ed66c

Please sign in to comment.