← Accessibility basics lesson New set →

Web Worksheet: Accessibility Basics

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

Answer key

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

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