Closed Bug 385678 Opened 17 years ago Closed 16 years ago

improve chart alt tag

Categories

(Bugzilla :: Reporting/Charting, enhancement)

x86
Windows XP
enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 278461

People

(Reporter: timeless, Assigned: timeless)

Details

Attachments

(1 file)

dveditz attacked the bugzilla charting because he had turned off image loading and the alt tag wasn't helpful.

actual results:
<img alt="Graphical report results" src="chart.cgi?...

expected results:
<img alt="Graphical report results - if you can see this, images are off" ...
Attached patch alter alt tagSplinter Review
Assignee: gerv → timeless
Status: NEW → ASSIGNED
Attachment #273467 - Flags: review?(LpSolit)
Comment on attachment 273467 [details] [diff] [review]
alter alt tag

>-  <img alt="Graphical report results" src="[% imageurl %]"
>+  <img alt="Graphical report results - if you can see this, images are off"

That's not the goal of the alt attribute! Else all alt attributes in the world should contain such a message, which doesn't make sense. Moreover, the message is wrong as the URL could be broken or there could be an internal error which prevents the generation of the image. This bug should be closed as WONTFIX.
Attachment #273467 - Flags: review?(LpSolit) → review-
(In reply to comment #2)
> That's not the goal of the alt attribute! Else all alt attributes in the world
> should contain such a message, which doesn't make sense. 

That's not true. It would contain such a message only when the image could not be represented at all as text - which is the case here. We could set it to "" but that would leave people with images turned off or who were blind without an explanation of what was going on.

I agree timeless' text could use some work, but I think the principle is right. Something like:

"Chart of X against Y which cannot be summarised as text. Please turn on images if you have the capability to view them."

Gerv
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: