Last modified: 2010-05-15 15:41:11 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 8231 - Put useful alt text on main <img> on image: page
Put useful alt text on main <img> on image: page
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.7.x
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-12-12 15:49 UTC by Dan Jacobson
Modified: 2010-05-15 15:41 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Dan Jacobson 2006-12-12 15:49:44 UTC
In commons, don't say alt="". If we don't download the file for
various reasons, we scratch our heads at what we are supposed to be
seeing.

Say alt="[example.jpg]" perhaps.

</ul><div class="fullImageLink" id="file"><a
href="http://upload.wikimedia.org/wikipedia/commons/4/43/example.jpg"><img
border="0"
src="http://upload.wikimedia.org/wikipedia/commons/thumb/4/43/example.jpg/420px-example.jpg"
width="420" height="599" alt="" /></a><br />
Comment 1 Rob Church 2006-12-12 16:59:03 UTC
Where's the contextual information?
Comment 2 Brion Vibber 2006-12-12 19:39:00 UTC
What's "in commons" mean? Is there some _particular place_ where this
behavior appears, in contrast to other places where it does not?
It would be helpful if bug reporter would provide complete information.
Comment 3 Brion Vibber 2006-12-12 23:13:25 UTC
Ok, I think he's referring to the <img> which displays the actual file
or resized/rendered image on an Image: page.

Currently these specify an alt attribute, but with no text.
IIRC XHTML 1.0 Transitional requires the alt attribute to be present,
hence the empty attribute when there's no useful text.

It might be nice to put some alt text in there. For rendered images
it might say "download full-size image", but that's already repeated
in an explicit text link below. For non-rendered images, no download
link is actually present... though it might be nice to change that
for consistency.
Comment 4 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-12-12 23:26:37 UTC
If someone is seeing the alt text, surely odds are they won't be able to make
use of a downloaded full-size image?  Since the image is kind of the entire
point of an image page, appropriate alt text would be more like "{{PAGENAME}}
cannot be displayed".
Comment 5 Rob Church 2006-12-13 08:13:12 UTC
There are reasons other than being unable to see/see well for switching off
image downloads.
Comment 6 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-12-13 15:48:58 UTC
Yes, okay, and you're probably right that this is the majority nowadays. 
Regardless, there's still that "click to download full version" link, so it
would be redundant.
Comment 7 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-12-22 20:32:19 UTC
Added in r18502: alt text is now the equivalent of "{{FULLPAGENAME}}".

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links