Page MenuHomePhabricator

longdesc attribut leading to wrong place
Closed, DeclinedPublic

Description

On my screen reader JAWS, I can press enter to
get the long description of an image. This does
not work on the URL above; I get taken to
http://www.mediawiki.org/wiki/Wiki/Image:Foo.jpg
instead.


Version: unspecified
Severity: normal
URL: http://www.mediawiki.org/wiki/Extension:ImageMap

Details

Reference
bz8667

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:31 PM
bzimport added a project: ImageMap.
bzimport set Reference to bz8667.
bzimport added a subscriber: Unknown Object (MLST).

The HTML looks correct.

<div style="position: relative;"><img
src="http://upload.wikimedia.org/wikipedia/commons/thumb/0/06/Foo.jpg/200px-Foo.jpg"
alt="picture of a foo" width="200" height="131" longdesc="/wiki/Image:Foo.jpg"
usemap="#ImageMap_1" /><a href="/wiki/Image:Foo.jpg" title="About this image"
style="position:absolute; top: 111px; left: 0px;"><img alt="About this image"
src="/w/extensions/ImageMap/desc-20.png" style="border: none;" /></a></div>

On further testing, his appears to be a problem with JAWS, not with the
ImageMap extension. I can't find the script in JAWS which deals with the
longdesc attribute, but it seems to expect a full URL, not a relative
directory. When I tried the example in my test copy of MediaWiki, where the
only setting I have changed is to allow image uploads, I get the following
URL:
http://localhost:8080/testwiki/index.php/Testwiki/index.php/Image:Foo.jpg.
However, the example at http://www.wats.ca/show.php?contentid=34 works with
JAWS and JAWS does not do anything to the full URL provided.

I've jus tested this on JAWS 8, the latest version of JAWS and the long
descriptions work fine there. It's a paid upgrade though. My previous test
versions where the longdesc links did not work were JAWS 5.1 and 6.0, which
could conceivably still be used by a lot of people.

As far as I understand it's not a problem with the imagemap extension? --> Close
this bug as WFM.

Gilles raised the priority of this task from Medium to Unbreak Now!.Dec 4 2014, 10:11 AM
Gilles moved this task from Untriaged to Done on the Multimedia board.
Gilles lowered the priority of this task from Unbreak Now! to Medium.Dec 4 2014, 11:20 AM