What is the purpose of using alt text on images in Bootstrap for accessibility?
- Provides alternative content for screen readers
- Defines the image width and height
- Adds a border around images
- Sets the image background color
In Bootstrap, using alt text on images serves the purpose of providing alternative content for screen readers. This descriptive text is read out loud to users who may not be able to see the image, enhancing the accessibility and understanding of the content.
Loading...
Related Quiz
- ___' is a common issue when scripting for multiple browsers due to varying implementation standards.
- How can the 'shadow' utility in Bootstrap be applied to create depth in design?
- The '___()' JavaScript method is utilized for dynamically loading content into a Bootstrap modal.
- Browsers that do not support HTML5 elements can be made compatible using '___'.
- In Bootstrap, the grid class 'col-lg-___' is used for large devices.