← Accessibility basics lesson New set →

Web Worksheet: Accessibility Basics

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

Answer key

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

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