The ___ attribute in Bootstrap is used to hide elements visually but keep them accessible to screen readers.
- aria-hidden="true"
- class="visually-hidden"
- hidden="true"
- role="presentation"
In Bootstrap, the class="visually-hidden" is used to hide elements visually while keeping them accessible to screen readers. It's a CSS utility class that ensures content is available to assistive technologies but not visible on the screen.
Loading...
Related Quiz
- What steps are necessary to ensure Bootstrap's responsiveness when used with another framework?
- What class in Bootstrap is used to add hover effects on table rows?
- How does using a Content Delivery Network (CDN) enhance site performance?
- Discuss the impact of modifying Bootstrap's $spacer variable on layout and spacing.
- What is the purpose of the 'd-none' class in Bootstrap?