Skip to content

Commit 88ab6df

Browse files
authored
Merge pull request #168 from Community-Access/wicky
Wiki-ready docs: SVG diagrams, prose descriptions, accessible formatting
2 parents 171ad98 + f97ed1d commit 88ab6df

20 files changed

+459
-226
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Generate Diagram SVGs
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
paths:
7+
- 'scripts/generate-diagram-svgs.py'
8+
workflow_dispatch:
9+
10+
permissions:
11+
contents: write
12+
13+
jobs:
14+
generate:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@v4
19+
with:
20+
fetch-depth: 0
21+
token: ${{ secrets.GITHUB_TOKEN }}
22+
23+
- name: Set up Python
24+
uses: actions/setup-python@v5
25+
with:
26+
python-version: '3.x'
27+
28+
- name: Generate SVGs
29+
run: python scripts/generate-diagram-svgs.py
30+
31+
- name: Commit and push SVGs
32+
run: |
33+
git config user.name "github-actions[bot]"
34+
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
35+
git add docs/images/*.svg
36+
if [ -n "$(git status --porcelain)" ]; then
37+
git commit -m "chore: regenerate diagram SVGs from script"
38+
git push
39+
else
40+
echo "No SVG changes to commit"
41+
fi

docs/01-understanding-github-web-structure.md

Lines changed: 6 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,7 @@ Visually, the top bar contains (left to right):
6868
6969
### Secondary navigation (repository pages only)
7070

71-
When you are inside a repository, a second navigation bar appears below the global bar. This contains the repository's tabs:
72-
73-
```text
74-
Code | Issues | Pull requests | Actions | Projects | Wiki | Security | Insights | Settings
75-
```
71+
When you are inside a repository, a second navigation bar appears below the global bar. This contains the repository's tabs: Code, Issues, Pull requests, Actions, Projects, Wiki, Security, Insights, and Settings.
7672

7773
**Screen reader landmark:** This is labeled **"Repository navigation"**. Press `D` to jump to it directly.
7874

@@ -198,43 +194,15 @@ Your personal home (`github.com`) shows activity from repositories you follow. Y
198194

199195
## 5. Visual Map of a Repository Page
200196

201-
This diagram shows the layout of a repository home page. It is presented as ASCII art - every screen reader will read it correctly as text, left to right, top to bottom.
197+
![](images/repo-page-layout-01.svg)
202198

203-
```text
204-
+----------------------------------------------------------+
205-
| GLOBAL NAVIGATION (landmark: "Navigation Menu") |
206-
| [GitHub] [Search] [Copilot] [PRs] [Issues] [Bell] [You]|
207-
+----------------------------------------------------------+
208-
| REPOSITORY TABS (landmark: "Repository navigation") |
209-
| [Code] [Issues 12] [Pull requests 3] [Actions] [...] |
210-
+----------------------------------------------------------+
211-
| REPOSITORY HEADER |
212-
| owner / repo-name (this is the H1 heading) |
213-
| [Star 42] [Watch] [Fork 8] |
214-
+-----------------------------+----------------------------+
215-
| FILE AREA | SIDEBAR |
216-
| Branch: [main v] | About |
217-
| [Go to file] [Code v] | Description text |
218-
| | Topics: accessibility |
219-
| FILE TABLE (landmark) | Releases: 3 |
220-
| .github/ 3 days ago | Contributors: 5 |
221-
| docs/ 2 days ago | Languages: Markdown 100% |
222-
| README.md yesterday | |
223-
+-----------------------------+----------------------------+
224-
| README (landmark: "Repository files navigation") |
225-
| # Rendered README content here |
226-
| ... |
227-
+----------------------------------------------------------+
228-
| FOOTER |
229-
+----------------------------------------------------------+
230-
```
199+
### Description
200+
201+
A repository home page is laid out from top to bottom as follows. The Global Navigation bar (landmark: "Navigation Menu") contains the GitHub logo, Search, Copilot, Pull Requests, Issues, Notifications bell, and your avatar. Below that are the Repository Tabs (landmark: "Repository navigation") showing Code, Issues (12), Pull requests (3), Actions, and more. Next is the Repository Header, which is the H1 heading "owner / repo-name" plus Star (42), Watch, and Fork (8) buttons. The main content area is split into two columns. On the left is the File Area with the branch selector (main), Go to file button, Code button, and the File Table (a landmark) listing files like .github/, docs/, and README.md with dates. On the right is the Sidebar with the About section, description text, topics (accessibility), Releases (3), Contributors (5), and Languages (Markdown 100%). Below both columns is the rendered README (landmark: "Repository files navigation"), and at the bottom is the Footer.
231202

232203
### Screen reader navigation of this page
233204

234-
- `1` → hear "owner/repo-name" (the H1, confirms you are on the right repo)
235-
- `D` → "Navigation Menu" → `D` → "Repository navigation" → `D` → "Main" (file tree area)
236-
- `T` → jump to the file table → `Ctrl+Alt+Down Arrow` to navigate rows
237-
- `D` → "Repository files navigation" → read the README
205+
Press 1 to hear "owner/repo-name" (the H1, confirms you are on the right repo). Press D to hear "Navigation Menu," then D again for "Repository navigation," then D again for "Main" (the file tree area). Press T to jump to the file table, then Ctrl+Alt+Down Arrow to navigate rows. Press D again to reach "Repository files navigation" and read the README.
238206

239207

240208
## 6. Screen Reader Orientation Sequence

docs/02-navigating-repositories.md

Lines changed: 5 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -29,27 +29,11 @@ Use this sequence before moving to graded chapters:
2929

3030
When you navigate to a GitHub repository (e.g., `https://github.com/owner/repo-name`), you land on the **repository home page** (also called the Code tab). This page has several distinct regions:
3131

32-
```text
33-
┌────────────────────────────────────────────────────┐
34-
│ Navigation bar (GitHub global nav) │
35-
│ avatar menu | Notifications | search │
36-
├────────────────────────────────────────────────────┤
37-
│ Repository header │
38-
│ owner / repo-name (h1) │
39-
│ [Star] [Watch] [Fork] buttons │
40-
├────────────────────────────────────────────────────┤
41-
│ Repository navigation tabs (landmark) │
42-
│ < Code > Issues Pull requests Actions etc. │
43-
├─────────────────────────────┬──────────────────────┤
44-
│ File tree / code panel │ Sidebar │
45-
│ Branch selector │ About section │
46-
│ Files table (t:table) │ Topics │
47-
│ Last commit message │ Releases │
48-
├─────────────────────────────┴──────────────────────┤
49-
│ README.md (rendered) │
50-
│ (a separate landmark region) │
51-
└────────────────────────────────────────────────────┘
52-
```
32+
![](images/repo-page-layout-02.svg)
33+
34+
### Description
35+
36+
The repository home page is organized from top to bottom as follows. The Navigation bar (GitHub global nav) contains the avatar menu, Notifications, and search. Below that is the Repository header showing "owner / repo-name" as the H1 heading, plus Star, Watch, and Fork buttons. Next are the Repository navigation tabs (a landmark) with Code (active), Issues, Pull requests, Actions, and more. The main content area is split into two columns: on the left is the File tree / code panel with the branch selector, Files table (navigable as a table), and last commit message; on the right is the Sidebar with the About section, topics, and releases. Below both columns is the rendered README.md in a separate landmark region.
5337

5438

5539
## Landing on a Repository - What to Expect

docs/03-the-learning-room.md

Lines changed: 36 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,11 @@ Before starting Chapter 4 challenges, students should be able to:
2323
2. Explain issue -> branch -> PR -> review -> merge.
2424
3. Identify where bot feedback appears on PRs.
2525

26-
```text
27-
learning-room (SHARED)
28-
├── main branch (protected)
29-
├── Student A's PR #12 (open, assigned to Student B for review)
30-
├── Student B's PR #13 (open, assigned to Student C for review)
31-
├── Student C's PR #14 (open, assigned to Student A for review)
32-
├── Student A's PR #11 (merged, closed)
33-
└── [More PRs as students contribute]
34-
```
26+
![](images/learning-room-tree.svg)
27+
28+
#### Description
29+
30+
The learning-room is a single shared repository. It has a protected main branch, and each student opens pull requests against it. For example: Student A's PR #12 is open and assigned to Student B for review, Student B's PR #13 is assigned to Student C, Student C's PR #14 is assigned to Student A, and Student A's earlier PR #11 has already been merged. More PRs appear as students contribute.
3531

3632
### Why one shared repo?
3733

@@ -68,48 +64,41 @@ Throughout Day 1, you work on **two parallel learning tracks**:
6864

6965
#### The Two Tracks Reinforce Each Other
7066

71-
```text
72-
Skills Module (individual) Learning Room (group)
73-
↓ ↓
74-
Create a branch Create a branch (together)
75-
↓ ↓
76-
Open a PR Open a PR (see others' too)
77-
↓ ↓
78-
Get instant bot feedback Get bot feedback + human review
79-
↓ ↓
80-
Mona verifies your step Human peer reviewer approves
81-
↓ ↓
82-
Next step unlocked Ready to merge
83-
```
67+
| Step | Skills Module (individual) | Learning Room (group) |
68+
| --- | --- | --- |
69+
| 1 | Create a branch | Create a branch (together) |
70+
| 2 | Open a PR | Open a PR (see others' too) |
71+
| 3 | Get instant bot feedback | Get bot feedback + human review |
72+
| 4 | Mona verifies your step | Human peer reviewer approves |
73+
| 5 | Next step unlocked | Ready to merge |
8474

8575

8676
## Learning Room Folder Structure
8777

88-
```text
89-
learning-room/
90-
├── README.md ← Getting started guide
91-
├── AUTOMATION.md ← How the bot works
92-
├── .github/
93-
│ ├── workflows/ ← 3 automation workflows
94-
│ │ ├── learning-room-pr-bot.yml (PR validation)
95-
│ │ ├── skills-progression.yml (progress tracking)
96-
│ │ └── student-grouping.yml (peer pairing)
97-
│ ├── scripts/
98-
│ │ └── validate-pr.js (validation logic)
99-
│ ├── data/
100-
│ │ ├── student-roster.json (your cohort info)
101-
│ │ └── challenge-progression.json (levels, badges)
102-
│ └── docs/
103-
│ ├── LEARNING_PATHS.md (skill progression guide)
104-
│ └── IMPLEMENTATION_GUIDE.md (facilitator setup)
105-
├── docs/
106-
│ ├── CHALLENGES.md ← 12 challenges (Beginner → Expert)
107-
│ ├── GROUP_CHALLENGES.md ← 7 collaborative exercises
108-
│ ├── welcome.md ← Has [TODO] to complete
109-
│ ├── keyboard-shortcuts.md ← Has intentional errors
110-
│ └── setup-guide.md ← Has broken links
111-
└── [other files for practice]
112-
```
78+
The learning-room repository contains these files and folders:
79+
80+
- **README.md** -- Getting started guide
81+
- **AUTOMATION.md** -- How the bot works
82+
- **.github/**
83+
- **workflows/** -- 3 automation workflows
84+
- learning-room-pr-bot.yml (PR validation)
85+
- skills-progression.yml (progress tracking)
86+
- student-grouping.yml (peer pairing)
87+
- **scripts/**
88+
- validate-pr.js (validation logic)
89+
- **data/**
90+
- student-roster.json (your cohort info)
91+
- challenge-progression.json (levels, badges)
92+
- **docs/**
93+
- LEARNING_PATHS.md (skill progression guide)
94+
- IMPLEMENTATION_GUIDE.md (facilitator setup)
95+
- **docs/**
96+
- CHALLENGES.md -- 12 challenges (Beginner to Expert)
97+
- GROUP_CHALLENGES.md -- 7 collaborative exercises
98+
- welcome.md -- Has a TODO to complete
99+
- keyboard-shortcuts.md -- Has intentional errors
100+
- setup-guide.md -- Has broken links
101+
- Other files for practice
113102

114103

115104
## Your Practice Branch

docs/04-working-with-issues.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -251,11 +251,11 @@ Navigate directly: `https://github.com/[owner]/[repo]/issues`
251251

252252
### Page structure
253253

254-
```text
255-
[Search / filter bar] controls at the top
256-
[State tabs: Open | Closed] filter by status
257-
[Issues list] each issue is one list item or heading
258-
[Pagination] at the bottom
254+
```
255+
[Search / filter bar] -- controls at the top
256+
[State tabs: Open / Closed] -- filter by status
257+
[Issues list] -- each issue is one list item or heading
258+
[Pagination] -- at the bottom
259259
```
260260

261261
### How to read the issue list

docs/06-merge-conflicts.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -290,13 +290,13 @@ The content coming from the OTHER branch (or main)
290290

291291
#### After two students both added a shortcut to the same table row
292292

293-
```text
293+
```
294294
<<<<<<< HEAD
295-
| Insert+Space | Toggle between Browse Mode and Focus Mode |
296-
| Insert+F5 | List elements by type |
295+
Insert+Space -- Toggle between Browse Mode and Focus Mode
296+
Insert+F5 -- List elements by type
297297
=======
298-
| Insert+Space | Toggle between Browse Mode and Focus Mode |
299-
| Insert+F7 | Elements list (links, headings, form fields) |
298+
Insert+Space -- Toggle between Browse Mode and Focus Mode
299+
Insert+F7 -- Elements list (links, headings, form fields)
300300
>>>>>>> add-nvda-shortcut
301301
```
302302

@@ -383,10 +383,10 @@ VS Code has excellent merge conflict tooling with full screen reader support. Th
383383

384384
### VS Code shows conflicts as
385385

386-
```text
386+
```
387387
<<<<<<< HEAD (Current Change)
388388
Your version
389-
||||||| original (3-way merge, if enabled)
389+
======= original -- (3-way merge, if enabled)
390390
Original version before both edits
391391
=======
392392
Incoming version

docs/12-github-pull-requests-extension.md

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -190,18 +190,11 @@ gh pr list --search "review-requested:@me"
190190

191191
### Pull Request Tree Structure
192192

193-
```text
194-
GitHub Pull Requests
195-
├── My Pull Requests
196-
│ ├── Assigned to Me
197-
│ ├── Created by Me
198-
│ ├── Waiting for my Review
199-
│ └── All Open
200-
├── [Repository Name]
201-
│ ├── Local Pull Request Branches (checked out locally)
202-
│ ├── All Open Pull Requests
203-
│ └── All Closed Pull Requests
204-
```
193+
![](images/pr-tree.svg)
194+
195+
#### Description
196+
197+
The GitHub Pull Requests panel has two top-level sections. "My Pull Requests" contains four filters: Assigned to Me, Created by Me, Waiting for my Review, and All Open. The repository section shows Local Pull Request Branches (checked out locally), All Open Pull Requests, and All Closed Pull Requests.
205198

206199
#### Screen reader announcement example
207200

docs/14-accessible-code-review.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -242,32 +242,32 @@ Each file's diff is a table. Every row is one line of code.
242242
<details>
243243
<summary>Screen reader users - NVDA</summary>
244244

245-
```text
246-
Press T to jump to the diff table Insert+Space (Focus Mode)
247-
Press to move through lines one at a time
248-
Press Ctrl+Alt+to read across columns: [line number] | [change type] | [code content]
245+
```
246+
Press T to jump to the diff table then Insert+Space (Focus Mode)
247+
Press Down Arrow to move through lines one at a time
248+
Press Ctrl+Alt+Right Arrow to read across columns: line number, change type, code content
249249
```
250250

251251
</details>
252252

253253
<details>
254254
<summary>Screen reader users - JAWS</summary>
255255

256-
```text
257-
Press T to jump to the diff table Insert+Z (Virtual PC Cursor off)
258-
Press to move through lines
259-
Press Ctrl+Alt+ for column-by-column reading
256+
```
257+
Press T to jump to the diff table then Insert+Z (Virtual PC Cursor off)
258+
Press Down Arrow to move through lines
259+
Press Ctrl+Alt+Right Arrow for column-by-column reading
260260
```
261261

262262
</details>
263263

264264
<details>
265265
<summary>Screen reader users - VoiceOver (macOS)</summary>
266266

267-
```text
268-
Press T or VO+U Tables select the diff table
269-
VO+Shift+ to enter the table
270-
VO+→/← to navigate columns, VO+↑/↓ to navigate rows
267+
```
268+
Press T or VO+U then Tables then select the diff table
269+
VO+Shift+Down Arrow to enter the table
270+
VO+Right/Left to navigate columns, VO+Up/Down to navigate rows
271271
```
272272

273273
</details>

docs/15-issue-templates.md

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -193,16 +193,11 @@ Without this context, maintainers ask follow-up questions - which delays the fix
193193

194194
Templates live in a specific folder in your repository:
195195

196-
```text
197-
your-repo/
198-
└── .github/
199-
├── ISSUE_TEMPLATE/
200-
│ ├── bug_report.md ← Markdown template
201-
│ ├── feature_request.md ← Markdown template
202-
│ ├── accessibility-bug.yml ← YAML form template
203-
│ └── config.yml ← Template chooser configuration
204-
└── pull_request_template.md ← PR template (singular)
205-
```
196+
![](images/template-folder-tree.svg)
197+
198+
### Description
199+
200+
Templates live inside your-repo/.github/. The ISSUE_TEMPLATE/ subfolder contains: bug_report.md (Markdown template), feature_request.md (Markdown template), accessibility-bug.yml (YAML form template), and config.yml (template chooser configuration). The pull_request_template.md file sits directly in .github/, not inside ISSUE_TEMPLATE/.
206201

207202
**Markdown templates (`.md`):** Traditional template format. Pre-fills a text editor with structured Markdown content. Contributors edit the template directly, replacing instructions and placeholder text with their own content.
208203

@@ -1927,9 +1922,9 @@ After completing Steps 1-7, verify:
19271922

19281923
1. Create a table:
19291924

1930-
```text
1931-
Field Name | Type (dropdown/input/textarea) | Why Required? | Options (if dropdown)
1932-
[name] | [type] | [reason] | [choices]
1925+
```
1926+
Field Name -- Type (dropdown/input/textarea) -- Why Required? -- Options (if dropdown)
1927+
[name] -- [type] -- [reason] -- [choices]
19331928
```
19341929

19351930
2. For each issue type from Part 2, add 2-4 required fields:

0 commit comments

Comments
 (0)