Black Lives Matter! ✊🏾


Defines a string value that labels the current element. aria-label (property)

Links about aria-label

  1. The difference between aria-label and aria-labelledby - Tink - Léonie Watson

    posted on

  2. Short note on aria-label, aria-labelledby, and aria-describedby

    posted on

    Be careful when you use the aria-label, aria-labelledby, and aria-describedby attributes, because they do not work consistently with all HTML elements. This is a short note on when (and when not) to u

  3. Using the aria-label attribute

    posted on by MDN

    The aria-label attribute is used to define a string that labels the current element. Use it in cases where a text label is not visible on the screen. If there is visible text labeling the element, use aria-labelledby instead.

This might be interesting as well

  • HTMHell - #16 alt, no wait…, aria-label, no wait…, alt

    posted on

    A collection of bad practices in HTML, copied from real websites.

  • Code sample

    <button aria-label="Submit">
    <svg ></svg>