Bird
0
0

Which HTML attribute is important for accessibility to describe images?

easy📝 Syntax Q12 of 15
Testing Fundamentals - Non-Functional Testing
Which HTML attribute is important for accessibility to describe images?
Aalt
Btitle
Csrc
Dhref
Step-by-Step Solution
Solution:
  1. Step 1: Identify attribute for image description

    The alt attribute provides text descriptions for images, helping screen readers.
  2. Step 2: Check other attributes

    title shows tooltips, src is image source, href is for links, none describe images for accessibility.
  3. Final Answer:

    alt -> Option A
  4. Quick Check:

    Image description attribute = alt [OK]
Quick Trick: Use alt for image descriptions to help screen readers [OK]
Common Mistakes:
  • Using title instead of alt for image description
  • Confusing src with description
  • Missing alt attribute entirely

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Testing Fundamentals Quizzes