Which of the following is a correct way to provide a programmatically discernible description for an image that cannot be described visually?

Study for the Web Accessibility Specialist Test. Prepare with flashcards and multiple choice questions, each offering hints and explanations. Ace your exam with ease!

Utilizing aria-labelledby is correct because it provides a programmatically discernible description for images, particularly when they cannot be visually described. The aria-labelledby attribute allows you to reference other elements that can describe the image, making the content more accessible to users who rely on assistive technologies, such as screen readers. This method ensures that the user receives context about the image through alternative text that summarizes its role or function.

The other options fail to create an effective programmatic description of the image. An empty alt attribute would mean the image is ignored by screen readers, which is not helpful for conveying any information. Adding a title attribute typically does not provide the same level of accessibility since many screen readers do not announce this attribute by default. Using role="img" simply conveys that the element is an image but does not provide a descriptive alternative, leaving the users without the necessary context.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy