Version: 3.5.2 (using KDE 3.5.2, Kubuntu Package 4:3.5.2-0ubuntu18 dapper) Compiler: Target: i486-linux-gnu OS: Linux (i686) release 2.6.15-23-386 As per strict standards of W3C, web developers often add the ALT attribute to each image so that, text describing the image is displayed, when images are not loaded or prevented from loading. Since, Konqueror allows one (or a user) to uncheck "Automatically load images", thereby not allowing images to load in the page, the alt text attribute within the image tag should be read and displayed.
For comparison: Firefox 2.0 Does The Right Thing.
*** Bug 154303 has been marked as a duplicate of this bug. ***
There is a minimal test case with screenshots (including Opera's correct behaviour for comparison) in http://bugs.kde.org/show_bug.cgi?id=154303
Bug still exists in 3.5.8, BTW.
3.97 has same bug too.
Created attachment 23990 [details] Patch for kde 4.0.2 (apply to kdelibs) Here's a possible fix. It does more or less what it's supposed to. It's not ideal - Firefox has a better solution, where it almost looks like the ALT text is made into a text node and completely replaces the image. In particular, the ALT text for inline images will not have the same baseline as the surrounding text. It's much better than doing nothing though. P.S. I think this bug should be marked "confirmed".
The patch has not been used right now. Has it been tested?
I did build and run it and it did what I expected. However I'm not running with it anymore. I had problems where images weren't loading when they should have been. So I think I missed something :-(.
Thank you for the bug report. As this report hasn't seen any changes in 10 years or more, we ask if you can please confirm that the issue still persists. If this bug is no longer persisting or relevant please change the status to resolved.