Aplicativos do Windows
Recolher sumário
Expandir sumário
Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

aria-label attribute | ariaLabel property

Defines a string value that labels the current element. See also aria-labelledby.


<element aria-label="..." ... />

Property values

Type: DOMString

Standards information


Used in Roles
No role required.


The aria-label attribute can be used when:

  • the name of an element cannot be determined programmatically from the content of the element
  • providing a visible label and/or tooltip is not the desired user experience

However, if the label text is visible on screen, you should use aria-labelledby instead of aria-label.

See also

Accessible Rich Internet Applications (ARIA)



© 2017 Microsoft