https://bugzilla.wikimedia.org/show_bug.cgi?id=19906
Summary: Provide a method to allow alternate text for images to
be provided at the file description page
Product: MediaWiki
Version: unspecified
Platform: All
URL: Wikipedia:Village_pump_(technical)/Archive_62#Would_it_b
e_possible_to_hard-
code_alternate_text_for_images.2C_i.e._at_the_File:_desc
ription_page.3F
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Normal
Component: Images and files
AssignedTo: [email protected]
ReportedBy: [email protected]
This is a web accessibility issue. We ought be providing alt text for images
(especially those whose only content is a link, otherwise it outputs the file
name as alt text). It has also recently become a requirement for FA. See
http://en.wikipedia.org/wiki/Wikipedia:Alternate_text_for_images
Rather than reproducing the alternate text every time the image is called, it
would be useful to provide it at the file description page, with a magic word
or template and for it to be provided as the default alt text whenever it the
image is displayed.
When I asked at the village pump (provided URL), MZMcBride told me "It sounds
as though you want a modification made to the image table to store alt text in
a column."
Ideally, we should be able to override the alt-text contained at the image page
with local code. So, say at [[File:Foo.png]], we had something like
{{DEFAULTALT:A picture of a typical sized foo on a blue background.}}
Whenever Image:Foo.png was called, this would be the alt-text provided for
screen readers and the like. However if you needed some different alt text
(perhaps this is an article on Foo in general and you need to describe each foo
at greater length), you could provide it in the usual way.
[[File:Foo.png|alt=A typical sized foo on a blue background. This particular
foo is shaped like a bar.]]
The alternative is having bots editing every page that uses the image and
inserting the alt-text, obviously this way would make things much, much easier.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l