Decorative Images (Trusted Tester 5B) typically have what with accessible name or description?

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

Decorative Images (Trusted Tester 5B) typically have what with accessible name or description?

Explanation:
Decorative images are meant to add visual detail without conveying content, so they shouldn’t produce any information for users of assistive technologies. The right approach is to have no accessible name or description for the image. Practically, this is done by marking the image as decorative with an empty alt attribute (alt="") or by hiding it from the accessibility tree (for example, aria-hidden="true" or a presentational role). Providing descriptive alt text would reveal meaning that isn’t present, and giving it an aria-label would create an accessible name, which defeats the decorative purpose.

Decorative images are meant to add visual detail without conveying content, so they shouldn’t produce any information for users of assistive technologies. The right approach is to have no accessible name or description for the image. Practically, this is done by marking the image as decorative with an empty alt attribute (alt="") or by hiding it from the accessibility tree (for example, aria-hidden="true" or a presentational role). Providing descriptive alt text would reveal meaning that isn’t present, and giving it an aria-label would create an accessible name, which defeats the decorative purpose.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy