← Accessibility basics lesson New set →

Web Worksheet: Accessibility Basics

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

Answer key

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

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