← Accessibility basics lesson New set →

Web Worksheet: Accessibility Basics

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

Answer key

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

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