Click in order · HTML and CSS course · Module 10: Accessibility (a11y)

Building an Accessible Icon Button

Arrange a correct button with an icon and aria-label:

Items to click

  • aria-label="Close"
  • X</span></button>
  • <button
  • ><span aria-hidden="true">

You can check the correct answer by solving this task in the CodeWorlds game.