Fill in the blank: Use a _________ class to hide elements visually while keeping them accessible to screen readers.
Choose an answer
Tap an option to check your answer.
Correct answer: sr-only.
Why this is the answer
This refers to a visually hidden utility class that keeps descriptive content available to screen readers while removing it from the visible layout. In HubSpot documentation, the same accessibility pattern is shown with the screen-reader-text class rather than plain CSS that fully removes content from the accessibility tree. That approach is used for hidden labels, extra context, and skip links that still need to be announced by assistive technology. The key distinction is that the content stays accessible, which is why a screen-reader-only utility is the correct mechanism. HubSpot Developers
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed