Bird
0
0

Which ARIA attribute should you use to indicate that a section of content is currently hidden but can be expanded?

easy📝 Conceptual Q2 of 15
Angular - Internationalization and Accessibility
Which ARIA attribute should you use to indicate that a section of content is currently hidden but can be expanded?
Aaria-hidden="true"
Baria-expanded="false"
Caria-checked="false"
Daria-disabled="true"
Step-by-Step Solution
Solution:
  1. Step 1: Identify the attribute that controls expandable content

    aria-expanded indicates if a section is expanded or collapsed.

  2. Step 2: Match the attribute value for hidden but expandable

    When content is hidden but can be expanded, aria-expanded="false" is correct.

  3. Final Answer:

    aria-expanded="false" -> Option B
  4. Quick Check:

    Expandable content state = aria-expanded [OK]
Quick Trick: Use aria-expanded to show if content is open or closed [OK]
Common Mistakes:
  • Using aria-hidden to indicate expandable state
  • Confusing aria-checked with expansion
  • Misusing aria-disabled for visibility

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Angular Quizzes