← Accessibility basics lesson New set →

Web Worksheet: Accessibility Basics

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

Answer key

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

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