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.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *