The barrier
A Grade 7 learner in rural Kenya does homework on a parent's shared Android phone with prepaid data. The worksheet arrives as a scanned PDF.
I made one the way a teacher would: I printed six fraction questions and scanned them with a phone's document scanner. The PDF was 2,165,971 bytes over two pages. It costs data to download. It cannot be answered on the phone. It has no text layer, so a screen reader has nothing to read. And the teacher gets nothing back.
This is not a rare case. In 2020 UNICEF and the ITU found that two thirds of the world's school-age children had no internet at home, and 88% in East and Southern Africa (source).
What Passalong does
- Make: the teacher types or pastes the worksheet as plain text. Mistakes are explained by line number. Passalong turns it into a link or one small HTML file, to share on WhatsApp or any other way.
- Practise: the learner opens it, online once or from the file, then works with no connection. Each answer is checked on the phone, and a wrong answer gets feedback written for that mistake ("You added the tops and the bottoms."), then a hint and the worked answer.
- The code: at the end the phone shows a 12-character code such as
01E1-284G-02ZG. It holds the learner's optional class number and their first answer to every question. "Send by SMS" opens the message app with the code filled in. - Collect: the teacher pastes the codes they received and sees which questions the class missed most, and which wrong answer was most common.
No accounts, no server, no AI, no tracking. The worksheet travels in the link or file; the answers travel in the code.
Try it in two minutes
No account, no sign-up, and nothing has to be sent: every example is made up.
- Open https://passalong-pi.vercel.app. The sample worksheet is already filled in. Choose Open as a learner.
- Wait a few seconds for it to save itself, then turn off Wi-Fi and data (or switch to airplane mode) and reload: the worksheet still opens.
- Pick a wrong answer for question 1 and choose Check answer: you get feedback for that mistake. Then pick the right one.
- Choose Show my code to see the 12-character code. Send by SMS only opens your message app; you don't need to send anything.
- Open Collect (step 3 on the home page) and choose Load sample codes to see the class view: the most-missed questions, each learner's score, and the two lines with a problem.
Before and after
| Before: scanned PDF | After: Passalong | |
|---|---|---|
| Size | 2,165,971 bytes | 23,104 bytes, about 94 times smaller |
| Offline | Once downloaded | Tested in airplane mode on a Samsung Galaxy A06 (Android 16, Chrome 157) |
| Answer on the phone | No | Yes, with feedback for each wrong answer |
| Screen reader | No text to read | Tested with VoiceOver (Safari 27, macOS) and TalkBack (Android) |
| Teacher sees answers | No | 12-character code by SMS, read in Collect |
How I built it
TypeScript and Vite, with no framework and no server. Plain HTML controls (radio buttons, <details> for hints) keep it small and work with screen readers out of the box.
- The link puts the worksheet after the
#, compressed with fflate, so it never reaches a server and a cached player opens any worksheet offline. - The file is one HTML page with the player's script inside it, built with vite-plugin-singlefile. With scripts off it still shows the questions and an answer key. The build fails if the empty player grows past 20 KB; it is 14.7 KB.
- The answer code is 7 bytes for six questions: a 12-bit check of the worksheet, the class number, 4 bits per question (first answer and whether the hint was opened) and a CRC-8, written in Crockford base32 so it survives being retyped. A unit test rejects all 372 single-character typos of the sample code, and a code read against the wrong worksheet is caught 4,095 times in 4,096.
- Offline comes from a small service worker written at build time.
- Tests: 22 unit tests (Vitest) and a browser script (Playwright with Chrome) that opens the file from disk, turns scripts off, goes offline, and runs Make, Collect and About.
Challenges
- Offline scripts refused. Cached scripts were rejected offline until the service worker matched its cache with
ignoreVary: true. - My first accessibility pass failed four ways. At 320 px wide, Collect scrolled 165 px sideways once its tables showed; some links were only 18 px tall; question numbers were 14 px; and the "Skip to the end" link sat before the title, so focus landed in the wrong place for the next learner. All four were fixed and re-tested.
- The code was spoken as one word. axe flagged that the code's spoken label sat on a paragraph, which ARIA does not allow. The code is now read one character at a time, and I confirmed that with VoiceOver.
- Every feature costs bytes. The pack grew from 20.5 KB to 21.3 KB as I added the skip link, the solved count and accessibility fixes. Then all six people who tested it said the screens could look much better, fonts included. Restyling every screen with the phone's own fonts (no font downloads) took it to 22.6 KB. Each time I changed the tagline ("20 KB", then "about 21 KB", now "about 23 KB") rather than quote an old number.
What I learned
- The phone finds what the laptop doesn't. Every scripted check passed on my Mac, but the first time I opened the new look on the Samsung in airplane mode it still showed the old screens. The service worker answered from its cache first, so a new version only appeared on the second visit with a connection. I would never have seen that without a real phone in my hand. I changed the worker to try the network first for pages, so an update now shows on the first visit with a connection, and offline still works.
- Automated checks point; people confirm. axe didn't fail the answer code, it only marked it "needs review". Behind that note was a real problem: a screen reader would have read the 12 characters as one word. Only listening with VoiceOver told me the fix worked. A score of 100 tells me what a tool can see, not what a learner hears.
- Plain HTML does most of the accessibility work. Radio buttons and
<details>gave me keyboard use, option positions ("1 of 4") and spoken state without writing any of it myself. The problems I did have came from things I added on top: sizes, a link's position, a label in the wrong place. - Working is not the same as good enough. All six testers finished and sent a code without help, and all six still said the screens should look much better. Being usable and accessible didn't make it feel trustworthy. I restyled every screen with the phone's own fonts so nothing extra downloads.
- A size budget makes every choice visible. With the build failing past 20 KB, each feature had a cost in bytes, and I had to re-measure and change the tagline three times instead of quoting an old number. I now only put numbers in the README, About page and this story if I measured them.
- Deciding and checking is real work. Claude wrote most of the code. My job was choosing the learner, the barrier and what to build, reviewing every change, and testing on phones and screen readers. I learned that most of the quality comes from that checking.
Accessibility: tested with, and not tested with
I don't claim Passalong is fully accessible. Here is what I tested and how.
- Keyboard only: passed in Chrome 157 (a script that only presses keys) and by hand in Safari 27.
- VoiceOver with Safari 27 on macOS 27: passed by hand on Make, Practise and Collect.
- TalkBack on an Android phone: passed by hand on Practise (phone model not recorded).
- Zoom 200% and 400%, 320 px screens, contrast, colour blindness, slow 3G, scripts off: passed in Chrome on a Mac. Slow 3G: usable after about 6 s (6.2 s and 15,780 bytes on the last run).
- Phones: Samsung Galaxy A06 in airplane mode; also an iPhone and an older Android phone (models not recorded).
- Lighthouse accessibility 100, axe 0 violations on all four pages. Automated tools find only some problems.
- Not tested: switch access, a Braille display, a real 2G network.
The full table with every step is in the repo: docs/test-log.md.
Limitations
- Text only: no images or maths notation beyond plain text such as 3/4.
- The screens are in English (the worksheet can be in any language), and nothing is read aloud.
- Codes can be forged and files edited, so Passalong is for practice, not exams.
- A link works offline only after it has been opened once online; a downloaded file works offline from the start.
- On a shared phone, answers stay until someone chooses "Next learner on this phone".
Credits and AI disclosure
- Made by Gregory Temwa Odete, from 14 Nov 2026. MIT licence.
- Libraries: fflate; to build and test, Vite, vite-plugin-singlefile, Vitest, Playwright and TypeScript.
- Who did what: I researched the hackathon and chose the learner, the barrier and the design. I decide what gets built, review and test every change before merging it, made the "before" scan, and ran the phone and screen-reader tests.
- AI assistance: Claude wrote some of the code to my decisions in: the core, the player, Make, Collect, the About page, the build and test scripts, the scripted accessibility checks and their fixes, and the README.
- Earlier work: none. Everything was written during the hackathon.
- Data: the sample worksheet, class numbers and every code shown are made up. The 6 people who helped test are not named and their answers were not kept.
Built With
- css
- fflate
- html
- playwright
- service-worker
- typescript
- vercel
- vite
- vitest