Lines Matching refs:alt
32 * If alt is present and not empty, it will set the element's role to img and add an aria-label whose content matches alt.
33 * If alt is present and is an empty string, '', it will hide the element from the accessibility layer
34 * If alt is not present, it will set the element's role to img and the element will fallback to using the icon attribute for its aria-label.
36 * @attribute alt
40 alt: null,
44 'alt': 'updateAlt'
113 // Remove element from a11y tree if `alt` is empty, otherwise
114 // use `alt` as `aria-label`.
115 if (this.alt === '') {
124 this.setAttribute('aria-label', this.alt ||