Problem/Motivation
The alt attribute provides a textual alternative to an image. It is used whenever the actual image cannot be rendered. Common reasons for that include: The image can no longer be found; Visually impaired users using a screen reader software; Images loading is disabled, to reduce data consumption on mobile phones.
Add an "alt" attribute to this image.
File: webform/modules/webform_bootstrap/tests/modules/webform_bootstrap_test_module/style-guide/images.html
<img src="http://placehold.it/100x200" style="height: 200px; width: 100%; display: block;">
...
<img src="http://placehold.it/100x200" style="height: 200px; width: 100%; display: block;">
...
<img src="http://placehold.it/100x200" style="height: 200px; width: 100%; display: block;">
Proposed resolution
<img src="http://placehold.it/100x200" alt="…" style="height: 200px; width: 100%; display: block;">
...
<img src="http://placehold.it/100x200" alt="…" style="height: 200px; width: 100%; display: block;">
...
<img src="http://placehold.it/100x200" alt="…" style="height: 200px; width: 100%; display: block;">
Comments
Comment #4
immaculatexavier commentedCommitted in accordance to the proposed resolution
Comment #5
shyam_bhattWhen I installed "webform_bootstrap" and add the image file filed in the web form. An "alt" attribute to this image. Please check the below code.
<img src="http://placehold.it/100x200" alt="…" style="height: 200px; width: 100%; display: block;">The patch is working fine.
Comment #6
jrockowitz commentedCan you please change the version to webform 6.1.x?
Comment #10
jrockowitz commented