Closed Bug 218418 Opened 21 years ago Closed 21 years ago

alt-attribute from <input type="image" ... > not shown if images are blocked

Categories

(Core :: Layout: Form Controls, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 180620

People

(Reporter: theseer, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030703
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030703

<form ...>
  ...
  <input type="image" src="foo.png" alt="some image"> 
  ...
</form>

If the image (foo.png) is not found, alt will be displayed as expected. If
images are BLOCKED the button is gone since the alt-text will not be printed.



Reproducible: Always

Steps to Reproduce:
1. Create the form as shown in details
2. load page
3. block images
4. reload page
5. try to click the button ;)


Actual Results:  
'Button' is gone ( invisible )

Expected Results:  
'Button' alt attribute should be displayed

*** This bug has been marked as a duplicate of 180620 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
This is actually the intended behaviour, see bug 180620 comment 24.
Indeed, this bug should be invalid, not duplicate.
I know that should be invalid.
I duped it, because bug 180620 explains everything
I think we should avoid doing that because it creates unnecessary mails and
noise in that bug.  A short reference like the one I gave in comment 2
should be enough IMO. 
You need to log in before you can comment on or make changes to this bug.