EPrints Technical Mailing List Archive

Message: #09010


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

Re: [EP-tech] Alt text for workflow images (3.3.x)


CAUTION: This e-mail originated outside the University of Southampton.

Is it here:
https://github.com/eprints/eprints/blob/49315a7bd4d9a471978c7d781de798ad7ba9352a/lib/static/_javascript_/auto/87_component_field.js#L11-L33
?

 

From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Alan.Stiles via Eprints-tech
Sent: 19 July 2022 16:46
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Alt text for workflow images (3.3.x)

 

CAUTION: This e-mail originated outside the University of Southampton.

Okay, trying to figure out what’s going on here for accessibility – I’m trying to add alt text to the up and down arrows in the EPrint workflow on multi-part field, like creators or related URIs.

 

I’ve tracked the code to https://github.com/eprints/eprints/blob/c17712b94b9d932aabeded46994701ada8b18ccd/perl_lib/EPrints/MetaField.pm#L1389-L1397 but I’m losing where

make_element( “input”, type=>”image”…

 

turns into the page html

<a type="image" src="" alt="down" title="move down" name="_internal_c30_creators_down_3" class="epjs_ajax" value="1" href="">

<img src="">

</a>

 

As the parameters passed in are all being applied to the anchor rather than the contained image.

 

Thanks,

Alan