Loading…
When someone signs up, the list and count update silently. Make screen readers announce it.
Click “Fork” on github.com/Hustlers2Developers/contribution-lab (no access request needed), then clone YOUR fork.
git clone https://github.com/<your-username>/contribution-lab.git
cd contribution-lab
git remote add upstream https://github.com/Hustlers2Developers/contribution-lab.gitYou need Node.js 20+. There is nothing to install. DevCircle runs at http://localhost:3000.
npm test
npm run devIn public/index.html, the member count is #member-count and the list is #members. They change after a signup.
Screen readers read out a live region when its text changes. Give the list an accessible name too.
<span id="member-count" class="muted" aria-live="polite"></span>
…
<ul id="members" class="members" aria-label="Members"></ul>Sign up a test member with a screen reader on (Narrator: Win+Ctrl+Enter, VoiceOver: Cmd+F5). You should hear the new count.
Work on a branch, never on main. `npm run check` runs exactly what CI runs (formatting, tests, profile files); `npm run format` fixes formatting.
git checkout -b task/issue-19
npm run format
npm run check
git add .
git commit -m "announce new members to screen readers"
git push -u origin task/issue-19On GitHub click “Compare & pull request”. Write Closes #19 in the description: that links your PR to the task, and the XP is yours when it is merged (the first merged PR completes the task).
Closes #19