Question · HTML and CSS course · Module 4: Flexbox

When to use aria-label

When is it best to use the aria-label attribute?

Answer options

  • When an element has only an icon with no visible text
  • When an element already has clear, visible text
  • On every paragraph of text on the page
  • Only inside CSS stylesheets

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