--- source: crates/biome_js_analyze/tests/spec_tests.rs expression: object.jsx --- # Input ```jsx // invalid <>
; //valid <> Foo

This is descriptive!

; ``` # Diagnostics ``` object.jsx:4:3 lint/a11y/useAltText ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Provide a text alternative through the title, aria-label or aria-labelledby attribute 3 │ <> > 4 │ │ ^^^^^^^^^^ 5 │
6 │ i Meaningful alternative text on elements helps users relying on screen readers to understand content's purpose within a page. ``` ``` object.jsx:5:3 lint/a11y/useAltText ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Provide a text alternative through the title, aria-label or aria-labelledby attribute 3 │ <> 4 │ > 5 │
│ ^^^^^^^^ 6 │ 7 │ i Meaningful alternative text on elements helps users relying on screen readers to understand content's purpose within a page. ``` ``` object.jsx:6:3 lint/a11y/useAltText ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Provide a text alternative through the title, aria-label or aria-labelledby attribute 4 │ 5 │
> 6 │ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 7 │ 8 │ i Meaningful alternative text on elements helps users relying on screen readers to understand content's purpose within a page. ``` ``` object.jsx:7:3 lint/a11y/useAltText ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Provide a text alternative through the title, aria-label or aria-labelledby attribute 5 │
6 │ > 7 │ │ ^^^^^^^^^^^^^^^^^^^^^^^^ 8 │ 9 │ i Meaningful alternative text on elements helps users relying on screen readers to understand content's purpose within a page. ``` ``` object.jsx:8:3 lint/a11y/useAltText ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Provide a text alternative through the title, aria-label or aria-labelledby attribute 6 │ 7 │ > 8 │ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 9 │ 10 │ i Meaningful alternative text on elements helps users relying on screen readers to understand content's purpose within a page. ``` ``` object.jsx:9:3 lint/a11y/useAltText ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Provide a text alternative through the title, aria-label or aria-labelledby attribute 7 │ 8 │ > 9 │ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10 │ 11 │ ; i Meaningful alternative text on elements helps users relying on screen readers to understand content's purpose within a page. ``` ``` object.jsx:10:3 lint/a11y/useAltText ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Provide a text alternative through the title, aria-label or aria-labelledby attribute 8 │ 9 │ > 10 │ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11 │ ; 12 │ i Meaningful alternative text on elements helps users relying on screen readers to understand content's purpose within a page. ```