Page 1 of 1

Re: avoid displaying the Alt text if an image is loading.

Posted: 2020-05-13, 14:52
by adesh
I feel this behaviour was kind of useful. On slow connections until the image loads you know by looking at the alt text what you are going to see.

Why do you remove this feature?

Ref: https://github.com/MoonchildProductions ... 2a8507208c

Re: avoid displaying the Alt text if an image is loading.

Posted: 2020-05-13, 16:51
by Moonchild
Because this is now expected behaviour for all web browsers.

Re: avoid displaying the Alt text if an image is loading.

Posted: 2020-05-13, 16:56
by adesh
Damn it! These browsers...! :evil:

Re: avoid displaying the Alt text if an image is loading.

Posted: 2020-05-13, 17:16
by New Tobin Paradigm
Yeah all one and a half web browsers besides us. :wtf:

Re: avoid displaying the Alt text if an image is loading.

Posted: 2020-05-13, 18:37
by adesh
I think keeping it shouldn't cause web compatibility issues or website breakage but I don't know much about this. You are the one to decide.
I feel we should keep this functionality based on "pure sense" if it doesn't break anything else.

Re: avoid displaying the Alt text if an image is loading.

Posted: 2020-05-13, 21:53
by Moonchild
Displaying the alt attribute while loading can and will break some layouts.
Alt is only there for accessibility anyway, not as a loading placeholder. That has never been its purpose.