← Accessibility basics lesson New set →

Web Worksheet: Accessibility Basics

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

Answer key

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

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