← Accessibility basics lesson New set →

Web Worksheet: Accessibility Basics

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

Answer key

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

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