Which item is listed as the first method to mark a decorative image?

Prepare with the Trusted Tester Training Test. Utilize interactive quizzes with flashcards and multiple-choice questions that include hints and explanations. Enhance your test readiness now!

Multiple Choice

Which item is listed as the first method to mark a decorative image?

Explanation:
The key idea is telling assistive technologies that the image doesn’t convey any meaningful content. The standard and first approach is to set the image’s alt attribute to an empty string. This signals to screen readers that there’s no textual description to read for this image, so it should be skipped, keeping the focus on relevant content for users who rely on assistive tech. Using ARIA roles like presentational or none can also indicate that an element is decorative, but these are more about how assistive technologies interpret the element rather than providing a clear, native cue for images. They’re useful in certain cases, but they’re not the default, most straightforward method for marking a purely decorative image. aria-hidden="true" completely hides the element from the accessibility tree, which achieves a decorative effect but also removes the image from any context that might be relevant if you ever need the content to be accessible. It’s a broader action than simply marking decoration and isn’t the first-line choice. So, the most reliable, first method is to use an empty alt attribute to mark the decorative image.

The key idea is telling assistive technologies that the image doesn’t convey any meaningful content. The standard and first approach is to set the image’s alt attribute to an empty string. This signals to screen readers that there’s no textual description to read for this image, so it should be skipped, keeping the focus on relevant content for users who rely on assistive tech.

Using ARIA roles like presentational or none can also indicate that an element is decorative, but these are more about how assistive technologies interpret the element rather than providing a clear, native cue for images. They’re useful in certain cases, but they’re not the default, most straightforward method for marking a purely decorative image.

aria-hidden="true" completely hides the element from the accessibility tree, which achieves a decorative effect but also removes the image from any context that might be relevant if you ever need the content to be accessible. It’s a broader action than simply marking decoration and isn’t the first-line choice.

So, the most reliable, first method is to use an empty alt attribute to mark the decorative image.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy