← Accessibility basics lesson New set →

Web Worksheet: Accessibility Basics

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

Answer key

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

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