Using Aria-Label as a Solution for Overly Complex Markup

InstructorLindsey Kopacz

Share this video with your friends

Send Tweet

I suggest using the previously learned approach but keep in mind that it may lead to an overly complex markup. We also use the aria-label attribute, which can be used to override the text within a label element.

Think about: Why would you use an aria-label instead of creating a visually hidden span?