Closed Bug 123744 Opened 23 years ago Closed 23 years ago

Alternate text doesn't always appear

Categories

(Core :: Layout, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: casper, Assigned: asa)

Details

Attachments

(1 file)

Alt text is not being drawn in all cases. I'm using build 2002020406 (0.9.8). I'll upload a test case if Moz permits, and go back and see what is the last milestone that worked.
OK, bugzilla keeps insisting that I "didn't specify a file to attach." If someone can point me to a bug for that, let me know. Here's the HTML I was trying to upload: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta HTTP-EQUIV="Refresh" CONTENT="900; URL=Forceout.jsp"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Window-target" content="_top"> <title>PBC Clerk of the Court Minutes Web Search - Welcome</title> </head> <body> <table width="100%" border=0 cellspacing=0 cellpadding=0> <tr> <td width="147" align="left" valign="top" nowrap> <a href="http://www.pbcountyclerk.com" target="_top"><img src="images/black_seal.gif" width=139 height=156 border=0 alt="Seal of the Clerk of the Court" title="Palm Beach County Clerk Homepage"></a><img src="images/three_color_grad.gif" width=8 height=156 border=0 alt=""> </td> <td width="100%" valign=top align=left> <table width="100%" border=0 cellspacing=0 cellpadding=0> <tr> <td width="100%" align=left valign=top background="images/blue_bar.gif"> <img src="images/main_header.gif" width=501 height=113 border=0 alt="Clerk to the Board of County Commissioners, Palm Beach County"></td> </tr> <tr> <td width="100%" height=17 align=left valign=top bgcolor="#C99732"><font size=1>&nbsp;</font></td> </tr> <tr> <td> <a href="logoff.jsp"><img src="images/LOGOFF_TAB.gif" width=91 height=26 border=0 alt=Logoff></a> <a href="MeetingLists.jsp"><img src="images/MEETLIST_off.gif" width=91 height=26 border=0 alt="Meeting list"></a> <a href="templateview.jsp?tn=Basic+Internet+Search&amp;dt=Y"><img src="images/BASICSEARCH_off.gif" width=91 height=26 border=0 alt="Basic search"></a> <a href="templateview.jsp?tn=Advanced+Internet+Search"><img src="images/ADVSEARCH_off.gif" width=91 height=26 border=0 alt="Advanced search"></a> <a href="ContactInfo.jsp"><img src="images/CONTACT_off.gif" width=91 height=26 border=0 alt="Contact Us"></a> </td> </tr> </table> </td> </tr> </table> <br> <center> <table width="80%" border=0 cellpadding=0 cellspacing=0> <tr><td> <p><font size=5>W</font>elcome to the meeting information website for the Clerk to the Board County Commissioners of Palm Beach County. Please note that all blue underlined texts are hyperlinks that you can click on for more information.</p> <p>The Office of the Clerk of Circuit Court is responsible for recording and safeguarding all Official Records of Palm Beach County in compliance with Florida statutes. Internet access to these records allows the public to perform <a href="templateview.jsp?tn=Basic+Internet+Search&amp;dt=Y">basic</a> or <a href="templateview.jsp?tn=Advanced+Internet+Search">advanced</a> searches for information using a combination of the following:</p> <ul> <li>Meeting Date <li>Meeting Type <li>Agenda Item Number <li>Official Number (Document number, Ordinance Number, Budget Transfer or Amendment Number) <li>Document Type <li>Text Search - <b>Note:</b> Searches using text will return Minutes without supporting documents but may contain a reference such as <i>Document number</i> or <i>Ordinance number</i>, to the supporting document. A separate search (without text search criteria) using the referenced number is required to return the supporting document(s). </ul> <p>The information contained on these pages represents Titles and Documents entered into our system from <b>January 10, 1981</b> through <b>February 13, 2001</b>. <a target="_top" href="MeetingLists.jsp">Click here for a detailed list of all available meetings.</a><p>Searches prior to January 10, 1981 and/or certified copies may be obtained from our Minutes Office, Palm Beach County Governmental Center, 301 N. Olive Avenue, Room 203, West Palm Beach, FL 33402, (561)355-2951. </p> <p>Due to the length of time it takes to fully process the Minutes, a summary of the meeting results can be found at the following sites for your convenience: <ul> <li><a href="http://www.co.palm-beach.fl.us/Agdsum/" target="_blank">Current Summary/Minutes</a> <li><a href="http://www.co.palm-beach.fl.us/planning_minutes/" target="_blank">Current Planning Summary/Minutes</a> <li><a href="http://www.co.palm-beach.fl.us/zoning_minutes/" target="_blank">Current Zoning Summary/Minutes</a> </ul> </p> </td></tr> </table> </center> <br> </body> </html>
Milestone 0.9.7 shows a broken link icon and alternate text, all clipped. I'm guessing that a change went in that won't display anything if it will be clipped. It's a good practice to set the height and width for IMG to match the graphic, but if the graphic won't load it'd be nice if the text would display without being clipped. Regardless, Mozilla should endeavor to display something. Get rid of the broken link icon if it's keeping the text from displaying.
I'm attaching a test case for this bug. It clearly shows that if the image is too small to support the icon then the alt text and icon aren't displayed. (However the text is (correctly) truncated if the text is just too wide.
Having trawled through all the comments on bug 41924 I believe that this bug is invalid - we are implementing our spec for alt text correctly. However... This is a usability nightmare. I am going to raise a separate RFE to implement Jacobsen's suggestion that if the icon & alt text won't fit we (a) try it without the icon and (b) reduce the size of the alt text (to some minimum, e.g. 50% of the default font size) until it fits, (c) if it still doesn't fit display as much as possible at this lower font limit.
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Component: Browser-General → Layout
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: