← Accessibility basics lesson New set →

Web Worksheet: Accessibility Basics

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

Answer key

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

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