← Accessibility basics lesson New set →

Web Worksheet: Accessibility Basics

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

Answer key

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

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