Last modified: 2006-12-22 20:32:46 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T2532, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 532 - Images used in the user interface should have alt text
Images used in the user interface should have alt text
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
unspecified
All All
: Normal normal with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 367
  Show dependency treegraph
 
Reported: 2004-09-19 16:21 UTC by Alan Barrett
Modified: 2006-12-22 20:32 UTC (History)
0 users

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


Attachments
Minor patch to fix two more instances (1.33 KB, patch)
2006-08-04 04:52 UTC, Aryeh Gregor (not reading bugmail, please e-mail directly)
Details

Description Alan Barrett 2004-09-19 16:21:36 UTC
All images that are used as part of the user interface should have 
sensible alt text.

Example 1:  In the enhanced recent changed display, when there are 
several changes to the same article, there's an image of a blue triangle 
pointing to the right; clicking on the triangle invokes some javascript 
that changes it to a blue triangle pointing down.  I think alt="+" and 
alt="-" would be appropriate here, but both images currently have 
alt="".

Example 2:  In the 1.4 software currently installed at test.wikipedia.
org, redirects are displayed using an image.  I think that alt="REDIRECT 
" would be appropriate, but the image currently has alt="Image".

I suppose all this should be customisable via messages in the MediaWiki 
namespace, but sensible hardcoded alt text would be better than the 
non-sensible hardcoded alt text we have now.
Comment 1 Rob Church 2005-08-30 04:11:10 UTC
Agreed, it makes sense to have useful alt text.
Comment 2 Michael Zajac 2006-08-01 22:39:18 UTC
"This page redirects to " would be better alt text for the example.  Unambiguous plain English, normal capitalization.  
Comment 3 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-08-04 04:52:40 UTC
Created attachment 2194 [details]
Minor patch to fix two more instances

The two complaints in the first comment have been addressed.  Grepping for
"<img", I only found two that didn't have alt text, outside of the parser
tests; one is in config and the other is in Exception.php, so they're both
borderline trivial.  Any others?
Comment 4 Robert Leverington 2006-11-26 18:16:33 UTC
Just one extra thought, the powered by icon currently uses the alt text "MediaWiki". 
IMO it would be better to use the text "Powered by MediaWiki" as that is what the 
icon reads and "MediaWiki" would make no sense to someone who is using a screen 
reader or has images disabled.
Comment 5 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-12-22 20:32:46 UTC
A couple of tweaks in r18502.  All interfaces images now seem to have
appropriate alt text.

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


Navigation
Links