Sub topic 14
Making quizzes, exercises, and files accessible
This chapter assumes you can build a quiz, write an exercise, and export a PDF in your course platform. It also assumes you know basic HTML terms such as element and attribute. The goal is to find and fix barriers that stop some learners from using your material. These include learners who use screen readers, learners who navigate by keyboard, learners with low vision or color blindness, learners with dyslexia or attention difficulties, and learners who need more time.
Why accessibility belongs in the assessment design
Accessibility is a design requirement, not a final polish step. A barrier in a quiz can block a learner from passing the course. A barrier in a downloadable file can hide the one resource a learner needs.
Most platforms follow the Web Content Accessibility Guidelines (WCAG), a set of testable rules published by the W3C. Many legal requirements and procurement contracts refer to WCAG 2.1 or 2.2 at level AA. WCAG groups its rules under four principles, which spell POUR:
| Principle | Meaning | Example in course material |
|---|---|---|
| Perceivable | Learners can sense the content | Images have text alternatives |
| Operable | Learners can use every control | A quiz works with the keyboard alone |
| Understandable | Content and behavior are predictable | Instructions state the time limit |
| Robust | Assistive technology can read the content | Files have real headings, not bold text |
Accessible quiz questions
Write for the screen reader first
A screen reader reads content in order. If your question depends on layout, the learner may miss the meaning. Avoid phrases such as "the chart on the right" or "the option in red."
Rules that apply to most question types:
- Put the full question in text. Do not put the prompt inside an image.
- Give every image that carries meaning a text alternative. Give decorative images an empty alternative so screen readers skip them.
- Keep each choice short and parallel, so a learner who hears them one at a time can compare them.
- Avoid "all of the above" and "none of the above." They are hard to hold in memory when choices are read aloud one by one.
- Do not use color alone to show correct or incorrect. Add text such as "Correct" or an icon with a label.
Group the choices correctly
Choices in a single-choice question are a group of radio buttons. They need a group label that contains the question. In HTML, use fieldset and legend:
<form>
<fieldset>
<legend>Which verb makes a learning objective measurable?</legend>
<label><input type="radio" name="q1" value="a"> Understand</label>
<label><input type="radio" name="q1" value="b"> Appreciate</label>
<label><input type="radio" name="q1" value="c"> Calculate</label>
<label><input type="radio" name="q1" value="d"> Know</label>
</fieldset>
<button type="submit">Check answer</button>
</form>Without the legend, a screen reader announces "Calculate, radio button" with no hint of the question. With it, the reader announces the question along with each choice.
Announce feedback
Feedback that appears on the page after a click is silent to a screen reader unless you tell it to speak. An ARIA live region does this. ARIA (Accessible Rich Internet Applications) is a set of attributes that give assistive technology extra information.
<div id="feedback" role="status" aria-live="polite"></div>
<script>
function showFeedback(isCorrect, text) {
const box = document.getElementById("feedback");
box.textContent = (isCorrect ? "Correct. " : "Incorrect. ") + text;
}
</script>The container must exist in the page before you change its text. If you insert the container and its text together, many screen readers do not announce it.
Keyboard and focus
Every control must work without a mouse. Test with the Tab key to move forward, Shift+Tab to move back, Space or Enter to activate, and arrow keys inside a radio group. Check these points:
- The focus indicator (the outline around the current control) is visible.
- Tab order follows the visual order.
- Drag-and-drop and matching questions have a keyboard alternative, such as a menu of choices for each item.
- After submitting, focus moves somewhere sensible, such as the feedback message.
Question types that depend on dragging, drawing, or hotspots on an image are the hardest to make accessible. If you cannot provide a keyboard and screen reader path, choose a different question type that tests the same objective.
Time limits and attempts
Timed quizzes create a barrier for learners who use assistive technology, because those tools often take longer. WCAG requires that you let users turn off, adjust, or extend a time limit, with some exceptions such as live events.
- Prefer untimed quizzes for formative assessment.
- If a time limit is essential, offer extra time per learner. Many platforms let you grant an extension to specific people.
- Warn learners before time runs out and let them extend it.
- Tell learners the limit and the attempt rules before they start.
Accessible exercises and assignments
Exercises add several risks that quizzes do not.
- Instructions: Write steps as a numbered list, one action per step. State the expected output and where to submit it.
- Submission format: Let learners submit in more than one form when the objective allows it. A learner who cannot record a video should be able to write a description instead, unless video is the skill you assess.
- Rubrics: Share the rubric before the learner starts, and write it in plain text or a real table with a header row. A rubric stored as a scanned image is unreadable to a screen reader.
- Tools: If the exercise needs a spreadsheet, code editor, or design tool, check that the tool itself works with a keyboard and screen reader, or provide an alternative.
- Language: Use plain language, define jargon, and avoid idioms. This helps non-native speakers and learners with cognitive disabilities.
Accessible downloadable files
A file leaves your platform, so the platform's own accessibility features no longer apply. You must prepare the file itself.
A PDF is accessible only if it is tagged. Tags are hidden labels that mark headings, paragraphs, lists, tables, and images, and they give the file a reading order. Exporting from a word processor with the "tagged PDF" option set preserves tags that you created with real styles.
Checklist for a PDF:
- Build the source document with heading styles, not large bold text.
- Use real lists and real tables with a header row.
- Add alternative text to meaningful images.
- Set the document language and title.
- Export with tags on, then run an accessibility checker.
- Never publish a scanned page as an image without running text recognition (OCR) and checking the result.
Be cautious with worksheets that learners fill in. Form fields need labels, and a logical tab order.
Other formats
| Format | Accessibility notes |
|---|---|
| Word or Google Docs | Real heading styles and alt text carry over to export |
| Spreadsheet | Label header rows, avoid merged cells, name each sheet |
| Slides | Give each slide a unique title, and check reading order |
| Audio | Provide a transcript |
| Video | Provide captions, and a transcript if the video carries key information |
| Code or data files | Plain text is usually the most accessible choice |
Link text and file information
The link should say what the file is. "Click here" tells a screen reader user nothing, because many users list all links on a page out of context. Include the format and size so learners know what they will get:
<a href="/downloads/module-2-worksheet.pdf" download="module-2-worksheet.pdf">
Download the Module 2 worksheet (PDF, 240 KB)
</a>Color, contrast, and text
- Normal text needs a contrast ratio of at least 4.5:1 against its background under WCAG AA. Large text needs 3:1.
- Do not rely on color alone. A red border for wrong answers is invisible to some learners, so add a text label.
- Let text resize to 200% without losing content.
- Use a readable font size, left-aligned text, and short paragraphs.
A review workflow
Work through this sequence on every quiz, exercise, and file before launch.
Automated checkers find only a portion of the problems. They can detect a missing alt attribute, but they cannot tell whether the alt text is meaningful. Manual tests catch the rest. For a screen reader test, use a free option such as NVDA on Windows or VoiceOver on macOS and iOS.
Common errors
- Image-only questions. The prompt or choices exist only as a picture.
- Missing group labels. Radio buttons have no
legend, so the question is not announced. - Silent feedback. The result appears visually and is not announced.
- Color-only signals. Correct and incorrect differ only by green and red.
- Untagged PDFs. The file was printed to PDF or scanned.
- Vague links. The link text reads "download" or "here."
- Hard timers. The quiz expires with no way to extend it.
Exercises
Exercise
A single-choice quiz question shows four radio buttons, but a screen reader announces only "Calculate, radio button" for the third one. What is missing, and how do you fix it?
Show answer
The radio buttons have no group label, so the question text is not announced with them. Wrap the choices in a fieldset and put the question in a legend element. The screen reader then reads the question along with each choice.
Exercise
Your quiz marks wrong answers with a red border and right answers with a green border, and nothing else. Name two problems and a fix.
Show answer
Learners with color blindness may not tell red from green, and screen reader users get no signal at all. Add a text message such as "Incorrect" or "Correct" and put it in an ARIA live region so it is announced. Keep the color as an extra cue.
Exercise
You export a worksheet by printing a Word document to PDF. A learner reports that their screen reader reads it as one block with no headings. Why, and what should you do?
Show answer
Printing to PDF often drops the tags that mark headings, lists, and reading order. Rebuild the source with real heading styles, export using the tagged PDF option, set the language and title, and run an accessibility checker before you upload it again.