Closed Bug 337529 Opened 19 years ago Closed 19 years ago

firefox does not support <alt> tags, usually inside an image tag.

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: eschroeder, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3 When writing HTML, sometimes you use alt tags inside of image tags, that way if the image doesn't load or the link is broken, it will say in the place of the image what you put inside of the alt tag. In IE or Safari it will work but not when I test it in Firefox. Please work on this!!! PS The image tag is <img src="imagename.extention" alt"Test Image"> Reproducible: Always Steps to Reproduce: 1. open a page that has an image that has an alt tag in the image code. 2. 3. Actual Results: Nothing Happens, the alt tag is not displayed Expected Results: The contents inside of the alt tag should be displayed if the image is missing or broken, or if you hover over the image with your mouse. Try it in IE Just writing HTML code for a school project
The alternative text is just that: alternative to the image (to be displayed instead and not additionally). Firefox just adheres to the spec. (description copied from bug 337455) *** This bug has been marked as a duplicate of 25537 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
Oops, I need to read better, sorry. This works for me when the tag actually makes sense (have a = after the alt); see URL. Compare: <img src="imagename.extention" alt"Test Image"> (yours) <img src="imagename.extention" alt="Test Image"> (fixed)
We do support alt attributes! You just have to use the correct syntax. :) Resolving as INVALID since this wasn't a bug to begin with.
Severity: major → normal
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago19 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.