← Accessibility basics lesson New set →

Web Worksheet: Accessibility Basics

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

Answer key

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

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