← Accessibility basics lesson New set →

Web Worksheet: Accessibility Basics

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

Answer key

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

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