and opening it in chrome. The result will be as follows . ...">
📜 ⬆️ ⬇️

Google chrome does not show alt attribute in images

This is easily verified by creating a text document.
<img src = "wrong" alt = "Alt" /> and opening it in chrome. The result will be as follows .

Anticipating the question “why the browser, in which in principle it is not possible to turn off pictures 1) , needs Alt”, I remind you that alternative text is useful in cases where the picture cannot be delivered to the user for various reasons.

1) In fact, there is a possibility, but for this you need to restart the browser, when you need to turn it off, and when you need to turn it on.

')

Source: https://habr.com/ru/post/74489/


All Articles