Skip to content

Commit 1113f29

Browse files
authored
Merge pull request #96 from w3c/key-terms
Add draft key terms section
2 parents 13eeee3 + f97234d commit 1113f29

File tree

9 files changed

+55
-22
lines changed

9 files changed

+55
-22
lines changed

.github/workflows/deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@ jobs:
5050
with:
5151
path: ./
5252

53-
# Deploy to Github Pages
53+
# Deploy to GitHub Pages
5454
- name: Deploy to GitHub Pages
5555
uses: actions/deploy-pages@v4

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ This repository is used to work on guidance for mobile accessibility.
1111
- The [comments folder](/comments) contains Markdown files with our comments on each success criterion (and principle, guidelines in the future).
1212
- The [sections folder](/sections) contains Markdown files for each section, such as abstract, introduction, etc.
1313
- The [plugins folder](/plugins) contains Javascript files with Markdown extensions
14-
- [`GithubPlugin`](/plugins/github.js): adds the `[issue:<issue>]` tag to render a `Note` linking to the given Github `<issue>`.
14+
- [`GitHubPlugin`](/plugins/github.js): adds the `[issue:<issue>]` tag to render a `Note` linking to the given GitHub `<issue>`.
1515
- [`NotePlugin`](/plugins/note.js): adds the `[note:<markdown>]` tag to render a `Note` containing the given `<markdown>`.
1616
- [`WcagPlugin`](/plugins/wcag.js): adds the `[wcag|wcag2ict:<id>]` tag to render a `<details>` component containing the WCAG(2ICT) section identified by the given `<id>`.
1717

18-
Upon push to the `main` branch, the [`index.html`](index.html) file gets generated based on the [comments](/comments) and [sections](/sections) folders. Next, the `index.html` file gets commited, and then deployed to Github Pages.
18+
Upon push to the `main` branch, the [`index.html`](index.html) file gets generated based on the [comments](/comments) and [sections](/sections) folders. Next, the `index.html` file gets commited, and then deployed to GitHub Pages.
1919

2020
![Generate, Update, Deploy workflow](https://github.com/w3c/matf/actions/workflows/deploy.yml/badge.svg)
2121

index.ejs

+4
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@
2929
<%- sections.comparison %>
3030
</section>
3131

32+
<section id="key-terms">
33+
<%- sections.keyterms %>
34+
</section>
35+
3236
<section id="comments">
3337
<%- sections.comments %>
3438

index.html

+24-6
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ <h3>Comparison with the 2015 Mobile Accessibility Working Draft Note</h3>
102102
<ul>
103103
<li>
104104
<div class="note">
105-
<p>Work In Progress</p>
105+
<p><strong>Work In Progress</strong>. See: <a href="#key-terms">Key Terms section</a></p>
106106

107107
</div>
108108
</li>
@@ -189,14 +189,32 @@ <h3>Comparison with the 2015 Mobile Accessibility Working Draft Note</h3>
189189

190190
</section>
191191

192+
<section id="key-terms">
193+
<h2>Key Terms</h2>
194+
<p>WCAG2Mobile defines key glossary terms to refine the broader scope of WCAG2ICT for Mobile Applications. It introduces terms that do not exist in WCAG2ICT or WCAG but are important to define for a Mobile Application context.</p>
195+
<p>“Content” and “user agent” are glossary terms from WCAG2ICT that need to be interpreted significantly differently when applied to Mobile Applications.</p>
196+
<p>The glossary terms “document” and “software” in WCAG2ICT are replaced with the defined terms “screen” and “view”. The glossary terms “set of web pages”, “set of documents” and “set of software programs” are replaced with the defined term “set of screens”.</p>
197+
<p>The term “accessibility services of platform software”, introduced by WCAG2ICT, has been modified to reflect its different use in Mobile Applications. Additionally, “closed functionality” has a different meaning in the context of Mobile Applications.</p>
198+
<p>The remaining glossary terms from WCAG2ICT and WCAG 2 are addressed in <a href="https://w3c.github.io/wcag2ict/#comments-on-definitions-in-wcag-2-glossary">WCAG2ICT: Comments on Definitions in WCAG 2 Glossary</a>.</p>
199+
<p>Terms defined and used in WCAG2Mobile are applicable only to the interpretation of the guidance in this document. The particular definitions should not be interpreted as having applicability to situations beyond the scope of WCAG2Mobile. Further information on usage of these terms follows.</p>
200+
<p>
201+
<div class="note">
202+
<p><strong>Work in Progress</strong>. See <a href="https://github.com/w3c/matf/issues?q=is%3Aissue%20state%3Aopen%20label%3Adefinition">Issues labeled as 'definition' on GitHub</a>.</p>
203+
204+
</div>
205+
</p>
206+
207+
</section>
208+
192209
<section id="comments">
193210
<h2>Comments by Principle, Guideline and Success Criterion</h2>
194211
<p>The sections that follow are organized according to the principles, guidelines and success criteria from WCAG 2.2. The text of each principle, guideline and success criterion from WCAG 2.2 is provided as quoted text. Following that, the WCAG2ICT guidance is provided as quoted text. Next, the WCAG2Mobile guidance itself is provided.</p>
195-
<div class="note" title="Work In Progress">
196-
<p>
197-
The document currently only includes guidance for success criteria. The guidance for principles and guidelines will be added at a later stage.
198-
</p>
199-
</div>
212+
<p>
213+
<div class="note">
214+
<p><strong>Work in Progress</strong>. The document currently only includes guidance for success criteria. The guidance for principles and guidelines will be added at a later stage.</p>
215+
216+
</div>
217+
</p>
200218

201219

202220

matf.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import markdownit from 'markdown-it';
55
import ejs from 'ejs';
66
import open from 'open';
77

8-
import { GithubPlugin } from './plugins/github.js';
8+
import { GitHubPlugin } from './plugins/github.js';
99
import { NotePlugin } from './plugins/note.js';
1010
import { WcagPlugin } from './plugins/wcag.js';
1111

@@ -16,7 +16,7 @@ const initMarkdown = async () => {
1616
console.log(`Initializing markdownit and custom plugins...`);
1717

1818
return markdownit({ html: true })
19-
.use(await GithubPlugin.init('https://github.com/w3c/matf'))
19+
.use(await GitHubPlugin.init('https://github.com/w3c/matf'))
2020
.use(await NotePlugin.init())
2121
.use(await WcagPlugin.init('wcag', 'https://www.w3.org/TR/WCAG22/'))
2222
.use(await WcagPlugin.init('wcag2ict', 'https://www.w3.org/TR/wcag2ict-22/'));

plugins/github.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { Plugin } from './plugin.js';
22

33
/**
4-
* The GithubPlugin adds a new markdown tag to render GitHub issues.
4+
* The GitHubPlugin adds a new markdown tag to render GitHub issues.
55
* For example, the `[issue:71]` markdown will render issue #71 as a note with a link.
66
*/
7-
export class GithubPlugin extends Plugin {
7+
export class GitHubPlugin extends Plugin {
88
constructor(url) {
99
super('issue');
1010
this.url = url;
@@ -13,10 +13,10 @@ export class GithubPlugin extends Plugin {
1313
/**
1414
* Initializes the plugin with the specified GitHub repository URL.
1515
* @param {string} url - The GitHub repository URL (e.g., `https://github.com/w3c/matf`).
16-
* @returns {Promise<{function}>} - An initialized `GithubPlugin` function.
16+
* @returns {Promise<{function}>} - An initialized `GitHubPlugin` function.
1717
*/
1818
static async init(url) {
19-
return new GithubPlugin(url).plugin();
19+
return new GitHubPlugin(url).plugin();
2020
}
2121

2222
/**
@@ -40,7 +40,7 @@ export class GithubPlugin extends Plugin {
4040
}
4141

4242
/**
43-
* Renders the token as a Note with a link to the issue on Github.
43+
* Renders the token as a Note with a link to the issue on GitHub.
4444
* @param {object} token - The token to render.
4545
* @returns {string} - The rendered HTML string.
4646
*/

sections/comments.md

+1-5
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,4 @@
22

33
The sections that follow are organized according to the principles, guidelines and success criteria from WCAG 2.2. The text of each principle, guideline and success criterion from WCAG 2.2 is provided as quoted text. Following that, the WCAG2ICT guidance is provided as quoted text. Next, the WCAG2Mobile guidance itself is provided.
44

5-
<div class="note" title="Work In Progress">
6-
<p>
7-
The document currently only includes guidance for success criteria. The guidance for principles and guidelines will be added at a later stage.
8-
</p>
9-
</div>
5+
[note:**Work in Progress**. The document currently only includes guidance for success criteria. The guidance for principles and guidelines will be added at a later stage.]

sections/comparison.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ With this perspective in mind, the following list highlights where this current
1111
- platform software
1212
- virtual keyboard
1313
- New key terms introduced by WCAG2Mobile:
14-
- [note:Work In Progress]
14+
- [note:**Work In Progress**. See: [Key Terms section](#key-terms)]
1515
- Inclusion of all WCAG 2.2 Level A and AA success criteria and not just those specifically affected by mobile phone usage.
1616

1717
The prior 2015 Mobile Working Draft Note included specific guidance on the following WCAG 2.0 success criteria for mobile, primarily for a mobile web context:

sections/keyterms.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
## Key Terms
2+
3+
WCAG2Mobile defines key glossary terms to refine the broader scope of WCAG2ICT for Mobile Applications. It introduces terms that do not exist in WCAG2ICT or WCAG but are important to define for a Mobile Application context.
4+
5+
“Content” and “user agent” are glossary terms from WCAG2ICT that need to be interpreted significantly differently when applied to Mobile Applications.
6+
7+
The glossary terms “document” and “software” in WCAG2ICT are replaced with the defined terms “screen” and “view”. The glossary terms “set of web pages”, “set of documents” and “set of software programs” are replaced with the defined term “set of screens”.
8+
9+
The term “accessibility services of platform software”, introduced by WCAG2ICT, has been modified to reflect its different use in Mobile Applications. Additionally, “closed functionality” has a different meaning in the context of Mobile Applications.
10+
11+
The remaining glossary terms from WCAG2ICT and WCAG 2 are addressed in [WCAG2ICT: Comments on Definitions in WCAG 2 Glossary](https://w3c.github.io/wcag2ict/#comments-on-definitions-in-wcag-2-glossary).
12+
13+
Terms defined and used in WCAG2Mobile are applicable only to the interpretation of the guidance in this document. The particular definitions should not be interpreted as having applicability to situations beyond the scope of WCAG2Mobile. Further information on usage of these terms follows.
14+
15+
[note:**Work in Progress**. See [Issues labeled as 'definition' on GitHub](https://github.com/w3c/matf/issues?q=is%3Aissue%20state%3Aopen%20label%3Adefinition).]

0 commit comments

Comments
 (0)