← Accessibility basics lesson New set →

Web Worksheet: Accessibility Basics

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

Answer key

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

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