Skip to content

Commit d797a31

Browse files
Revert "Resolve conflicts"
This reverts commit f6f2329, reversing changes made to cee32c0.
1 parent f6f2329 commit d797a31

File tree

216 files changed

+11469
-18526
lines changed

Some content is hidden

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

216 files changed

+11469
-18526
lines changed

.github/scripts/approve-rule.mjs

Lines changed: 0 additions & 83 deletions
This file was deleted.

.github/scripts/commons.mjs

Lines changed: 0 additions & 52 deletions
This file was deleted.

.github/scripts/wai-build.mjs

Lines changed: 0 additions & 28 deletions
This file was deleted.

.github/workflows/approve-rule.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

.github/workflows/chair-accounts.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

.github/workflows/dispatch.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ jobs:
1212
dispatch:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v3
16-
- uses: actions/setup-node@v3
17-
with:
18-
node-version: 16
19-
cache: npm
15+
- uses: actions/setup-node@v1
2016
- run: |
2117
curl -XPOST -u "${{ secrets.USER_NAME }}:${{ secrets.USER_PAT }}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/act-rules/act-rules-web/dispatches --data '{ "event_type": "build_application" }'

.github/workflows/publish.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,10 @@ jobs:
1111
publish:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v2
1515
with:
1616
ref: 'master'
17-
- uses: actions/setup-node@v3
18-
with:
19-
node-version: 16
20-
cache: npm
17+
- uses: actions/setup-node@v1
2118
- run: |
2219
git config user.name "${{ secrets.USER_NAME }}"
2320
git config user.email "${{ secrets.USER_EMAIL }}"

.github/workflows/test.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,8 @@ jobs:
1616
test:
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v3
20-
- uses: actions/setup-node@v3
21-
with:
22-
node-version: 16
23-
cache: npm
19+
- uses: actions/checkout@v2
20+
- uses: actions/setup-node@v1
2421
- run: |
2522
npm install
2623
npm test

.github/workflows/wai-deploy.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,3 @@ yarn.lock
6969

7070
# Ignore JetBrains IDE file
7171
.idea
72-
73-
# Tmp build directory
74-
wcag-act-rules-tmp/

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,5 @@ ACT-R has conference calls every 4 weeks. If you are interested in becoming an a
3030

3131
For info on how to use this GitHub repository, see the [ACT-Rules GitHub Guidelines](github-guidelines.md).
3232

33-
## GitHub Automation
34-
35-
This repository automatically pushes changes to rules to the [w3c/wcag-act-rules](https://github.com/w3c/wcag-act-rules/) repository. There is an "Approve rule" action available which can be triggered manually by an ACT Task Force facilitator, which will set a proposed rule to "approved".
36-
3733
[wcag21]: https://www.w3.org/TR/WCAG21/
3834
[act-r]: https://www.w3.org/community/act-r/
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
rule_id: SC1-1-1-decorative-images
3+
4+
success_criterion:
5+
- 1.1.1 # Non-text Content (level A)
6+
---
7+
8+
---
9+
rule_id: SC1-1-1-decorative-images
10+
11+
success_criterion:
12+
- 1.1.1 # Non-text Content (level A)
13+
---
14+
15+
<h2>inapplicable</h2>
16+
17+
<p><strong>To do</strong></p>
18+
19+
<h2>step1-pass</h2>
20+
21+
<div data-outcome="passed"
22+
data-outcome-id="step1-pass"
23+
data-user-responses="[true]">
24+
<img alt="" id="target">
25+
</div>
26+
27+
<h2>step1-fail</h2>
28+
29+
<div data-outcome="failed"
30+
data-outcome-id="step1-fail"
31+
data-user-responses="[false]">
32+
<img alt="" id="target">
33+
</div>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
rule_id: SC1-1-1-informative-images
3+
4+
success_criterion:
5+
- 1.1.1 # Non-text Content (level A)
6+
---
7+
8+
<div data-outcome="failed">
9+
<button>
10+
<img src="img.png"> Something
11+
</button>
12+
</div>
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# SC1-1-1-character-based-non-textual
2+
3+
## Description
4+
5+
This test checks that no non-textual information is conveyed by a sequence character.
6+
7+
## Background
8+
9+
- [H86: Providing text alternatives for ASCII art, emoticons, and leetspeak](http://www.w3.org/TR/WCAG20-TECHS/H86)
10+
- [F72: Failure of Success Criterion 1.1.1 due to using ASCII art without providing a text alternative](http://www.w3.org/TR/WCAG20-TECHS/F72.html)
11+
- [WAI: ASCII art detection algorithms ](http://www.w3.org/WAI/ER/IG/ert/AsciiArt.htm)
12+
13+
## Assumptions
14+
15+
- ASCII art can be assembled using every printable character
16+
- ASCII art can be multiline
17+
- The charset is specified in the `head` section
18+
- The font used can be either a system font or a font retrieved from the web
19+
- Some characters are adjacently repeated more than 4 times
20+
- Most ASCII art uses non-letter characters
21+
- Most ASCII art is inside `pre` or `xmp` elements (could also be a CSS `white-space: pre` styled element)
22+
- Most ASCII art uses MonoSpace-fonts
23+
- Text used to form shapes conveying information is also considered to be ASCII art
24+
- Leetspeak is built following a set fixed rules and can be translated and also detected.
25+
- Emoticons are built following a set fixed rules and can be translated and also detected.
26+
- Single unicode characters in private use area `U+E000` to `U+F8FF` can be used to display graphics. Even those can convey information, e.g. be an icon for a filetype
27+
28+
## Test properties
29+
30+
## Test procedure
31+
32+
### Selector
33+
34+
All text nodes with exception of those contained in `script` and `style` elements
35+
36+
```xpath
37+
//*[not(self::script or self::style)]/text()
38+
```
39+
40+
### Step 1
41+
42+
[AUTO]: ../pages/test-modes.html#automatic
43+
[MANUAL]: ../pages/test-modes.html#manual

0 commit comments

Comments
 (0)