Using CVS tip build, but seen on 2001110815 If a user has disabled image loading, or chooses "Warn me ..." , input type="image" controls are not rendered as alt text or "Submit Form" (for ALT-less images). I'll attach a testcase so it is easier to understand.
CCing attinasi who has been doing ALT work as of late. I'm looking into this to see where the problem could be. To reproduce, simply select "Do not load any images" on the Image Acceptance Policy frame in the Images dialog, part of Security prefs, and load the attachment. Hint: this problem does not happen if you save the attachment to a local foo.html file and access through the file: method.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.1
Priority: -- → P2
Target Milestone: mozilla1.1 → Future
Hi, I've seen this too. However, to clarify (Moz 1.2): the alt text is not used if the image is blocked, but it IS used if the image is just inacessible (e.g. wrong filename). However, the wrong font is used in that case!
This is semi-purposeful -- blocked images do not show alt text (or show up at all). How is this worse for form submit buttons than for images that are links?
Well, it's slightly more problematic given that many (some?) web forms perform useful actions. It varies, of course, but not seeing an image IMHO is slightly less annoying than not being able to submit a form. (There's the teensy dataloss issue of losing form contents you typed in because you can't submit the #@!#! form 8) I guess the question is *what is disabling image loading for*? If the intended semantic is *blot out anything related to that image*, I agree ALT text is best kept off. However, if the semantic is *keep bandwidth down by not loading images* then I think ALT text has a purpose. I venture to say the second interpretation may be the more useful of the two.
Wait..... Actually, there are two separate issues here: 1) All image loading is disabled. In this case we should show the alt text. 2) Image loading from a particular site is blocked. In this case there should be no alt text, imo. I'll look into this...
This is fixed. Bug 200023 filed on the problem with changing that pref while the browser is running.
Status: ASSIGNED → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.