docs.rodeo

MDN Web Docs mirror

Test your skills: HTML accessibility

The aim of this skill test is to assess whether you’ve understood our HTML: A good basis for accessibility article.

[!NOTE] You can try solutions in the interactive editors on this page or in an online editor such as CodePen, JSFiddle, or Glitch.

If you get stuck, you can reach out to us in one of our communication channels.

HTML accessibility 1

In this task we will test your understanding of text semantics, and why they are good for accessibility. The given text is an information panel with action buttons, but the HTML is really bad.

We want you to update it use appropriate semantic HTML. You don’t need to worry too much about recreating the exact same look and text sizing, as long as the semantics are good.

Try updating the live code below to recreate the finished example:

{{EmbedGHLiveSample("learning-area/accessibility/tasks/html-css/html/html-a11y1.html", '100%', 1100)}} 

[!CALLOUT]

Download the starting point for this task to work in your own editor or in an online editor.

HTML accessibility 2

In the second task, you have a form containing three input fields. You need to:

Try updating the live code below to recreate the finished example:

{{EmbedGHLiveSample("learning-area/accessibility/tasks/html-css/html/html-a11y2.html", '100%', 700)}} 

[!CALLOUT]

Download the starting point for this task to work in your own editor or in an online editor.

HTML accessibility 3

In this task you are required to turn all the information links in the paragraph into good, accessible links.

Try updating the live code below to recreate the finished example:

{{EmbedGHLiveSample("learning-area/accessibility/tasks/html-css/html/html-a11y3.html", '100%', 700)}} 

[!CALLOUT]

Download the starting point for this task to work in your own editor or in an online editor.

HTML accessibility 4

In our final HTML accessibility task, you are given an image gallery, which has some accessibility problems. Can you fix them?

Try updating the live code below to recreate the finished example:

{{EmbedGHLiveSample("learning-area/accessibility/tasks/html-css/html/html-a11y4.html", '100%', 1100)}} 

[!CALLOUT]

Download the starting point for this task to work in your own editor or in an online editor.

In this article

View on MDN