Which option is NOT listed as a 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 option is NOT listed as a method to mark a decorative image?

Explanation:
Marking decorative images means signaling to assistive technologies that the image is only for decoration and does not convey essential information. An empty alt attribute serves this by telling screen readers to skip the image. A presentational role, like role="presentation", explicitly marks the element as non-informational for accessibility tools. aria-hidden="true" hides the element from assistive technologies entirely, ensuring it isn’t announced. These are direct accessibility signals that control how the image is perceived. The class attribute, such as class="decorative", is not an accessibility signal. It’s purely for styling or scripting and doesn’t communicate to assistive tech that the image is decorative. So it doesn’t count as a method to mark the image for accessibility purposes.

Marking decorative images means signaling to assistive technologies that the image is only for decoration and does not convey essential information. An empty alt attribute serves this by telling screen readers to skip the image. A presentational role, like role="presentation", explicitly marks the element as non-informational for accessibility tools. aria-hidden="true" hides the element from assistive technologies entirely, ensuring it isn’t announced. These are direct accessibility signals that control how the image is perceived.

The class attribute, such as class="decorative", is not an accessibility signal. It’s purely for styling or scripting and doesn’t communicate to assistive tech that the image is decorative. So it doesn’t count as a method to mark the image for accessibility purposes.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy