← Accessibility basics lesson New set →

Web Worksheet: Accessibility Basics

HTML and CSS lesson 24: Accessibility basics · Set 362 · 40 questions
TalentJR

Code tip (Pages for everyone): Headings go down one level at a time: h1 → h2 → h3 (they may jump back up). Alt text on images, clear link text, labels on form boxes, big enough text. Strong contrast (black on white, yellow on black) is easy to read; light grey on white is not.

NameDateTime takenScore ___ / 40
  1. 1.♿ Is this heading order correct (no level skipped)?
    <h1> → <h2> → <h3> → <h4>
    (a) Yes (b) No
  2. 2.♿ A part of the page is under a <h1> heading. Which tag should its sub-heading use? (a) <h2> (b) <h4> (c) <h6> (d) <h1>
  3. 3.Which colour pair is easy to read? (a) black on white (b) blue on purple (c) yellow on white (d) pink on red
  4. 4.Which colour pair is hard to read? (a) white on black (b) yellow on black (c) white on dark blue (d) yellow on white
  5. 5.♿ Who uses a screen reader? (a) only robots (b) only coders (c) only teachers (d) people who are blind
  6. 6.♿ Does this help everyone, or make the page harder to use: skipping heading levels? (a) helps everyone (b) makes it harder
  7. 7.True or false: “tiny grey text” makes the page harder to use. (a) True (b) False
  8. 8.♿ Which link text is clearest? (a) here (b) link (c) click here (d) Read the fruit facts
  9. 9.🌗 Is red on green easy or hard to read? (a) easy to read (b) hard to read
  10. 10.🌗 Is yellow on black easy or hard to read? (a) easy to read (b) hard to read
  11. 11.♿ Does this help everyone, or make the page harder to use: write clear link text? (a) makes it harder (b) helps everyone
  12. 12.♿ A part of the page is under a <h5> heading. Which tag should its sub-heading use? (a) <h6> (b) <h1> (c) <h3> (d) <h4>
  13. 13.♿ Does this help everyone, or make the page harder to use: add alt text to images? (a) helps everyone (b) makes it harder
  14. 14.♿ What does good colour contrast mean? (a) many bright colours (b) only red text (c) no colours at all (d) text stands out clearly
  15. 15.True or false: “colour as the only clue” makes the page harder to use. (a) False (b) True
  16. 16.Which colour pair is hard to read? (a) white on dark blue (b) black on white (c) yellow on black (d) light grey on white
  17. 17.♿ Does this help everyone, or make the page harder to use: label every form box? (a) helps everyone (b) makes it harder
  18. 18.Which colour pair is hard to read? (a) pink on red (b) dark grey on white (c) white on black (d) yellow on black
  19. 19.🌗 Is white on dark blue easy or hard to read? (a) hard to read (b) easy to read
  20. 20.♿ A part of the page is under a <h4> heading. Which tag should its sub-heading use? (a) <h2> (b) <h3> (c) <h5> (d) <h1>
  21. 21.🌗 Is black on white easy or hard to read? (a) hard to read (b) easy to read
  22. 22.🌗 Is blue on purple easy or hard to read? (a) easy to read (b) hard to read
  23. 23.True or false: “skipping heading levels” makes the page harder to use. (a) False (b) True
  24. 24.♿ Is this heading order correct (no level skipped)?
    <h1> → <h2> → <h2> → <h4>
    (a) No (b) Yes
  25. 25.♿ Is this heading order correct (no level skipped)?
    <h1> → <h2> → <h3> → <h5>
    (a) Yes (b) No
  26. 26.Which colour pair is easy to read? (a) red on green (b) pink on red (c) yellow on black (d) light grey on white
  27. 27.♿ Is this heading order correct (no level skipped)?
    <h1> → <h3> → <h4> → <h4>
    (a) Yes (b) No
  28. 28.♿ Does this help everyone, or make the page harder to use: link text “click here”? (a) makes it harder (b) helps everyone
  29. 29.Which colour pair is easy to read? (a) blue on purple (b) red on green (c) dark grey on white (d) light grey on white
  30. 30.♿ Is this heading order correct (no level skipped)?
    <h1> → <h1> → <h3> → <h4>
    (a) Yes (b) No
  31. 31.♿ Does this help everyone, or make the page harder to use: use headings in order? (a) helps everyone (b) makes it harder
  32. 32.🌗 Is pink on red easy or hard to read? (a) hard to read (b) easy to read
  33. 33.🌗 Is white on black easy or hard to read? (a) easy to read (b) hard to read
  34. 34.♿ Does this help everyone, or make the page harder to use: use big enough text? (a) helps everyone (b) makes it harder
  35. 35.🌗 Is yellow on white easy or hard to read? (a) hard to read (b) easy to read
  36. 36.True or false: “use headings in order” makes the page harder to use. (a) False (b) True
  37. 37.♿ Does this help everyone, or make the page harder to use: colour as the only clue? (a) helps everyone (b) makes it harder
  38. 38.True or false: “add alt text to images” helps everyone use the page. (a) False (b) True
  39. 39.♿ Is this heading order correct (no level skipped)?
    <h1> → <h3> → <h4> → <h5>
    (a) Yes (b) No
  40. 40.♿ A part of the page is under a <h2> heading. Which tag should its sub-heading use? (a) <h3> (b) <h5> (c) <h6> (d) <h2>

Answer key

  1. Yes
  2. <h2>
  3. black on white
  4. yellow on white
  5. people who are blind
  6. makes it harder
  7. True
  8. Read the fruit facts
  9. hard to read
  10. easy to read
  11. helps everyone
  12. <h6>
  13. helps everyone
  14. text stands out clearly
  15. True
  16. light grey on white
  17. helps everyone
  18. pink on red
  19. easy to read
  20. <h5>
  21. easy to read
  22. hard to read
  23. True
  24. No
  25. No
  26. yellow on black
  27. No
  28. makes it harder
  29. dark grey on white
  30. No
  31. helps everyone
  32. hard to read
  33. easy to read
  34. helps everyone
  35. hard to read
  36. False
  37. makes it harder
  38. True
  39. No
  40. <h3>

Free html and css lessons, practice and worksheets at talentjr.in/html-css-for-kids