Test Case executed: Locations page
WAVE reported: Image is missing alternative text
What It Means: Image alternative text is not present.
Why It Matters: Each image must have an alt attribute. Without alternative text, the content of an image will not be available to screen reader users or when the image is unavailable.
How to Fix It: Add an alt attribute to the image. The attribute value should accurately and succinctly present the content and function of the image. If the content of the image is conveyed in the context or surroundings of the image, or if the image does not convey content or have a function, it should be given empty/null alternative text (alt="").
https://yusa.atlassian.net/browse/DS-1014
Test Case executed: Locations page WAVE reported: Image is missing alternative text
What It Means: Image alternative text is not present.
Why It Matters: Each image must have an alt attribute. Without alternative text, the content of an image will not be available to screen reader users or when the image is unavailable.
How to Fix It: Add an alt attribute to the image. The attribute value should accurately and succinctly present the content and function of the image. If the content of the image is conveyed in the context or surroundings of the image, or if the image does not convey content or have a function, it should be given empty/null alternative text (alt="").
Standards and Guidelines: 1.1.1 Non-text Content (Level A)
Code:
I believe the map markers meaning is conveyed with the existing labels, so an empty alt tag seems proper here.