[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EP-tech] Alt text for workflow images (3.3.x)
CAUTION: This e-mail originated outside the University of Southampton.
Is it here:
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints%2Fblob%2F49315a7bd4d9a471978c7d781de798ad7ba9352a%2Flib%2Fstatic%2Fjavascript%2Fauto%2F87_component_field.js%23L11-L33&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C65b25e086970495fb2df08da699f5b33%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637938430392008470%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ulvDCgI6twRlmTCuGS8h%2Fr6HuVSTAo5tsNmF5LfabYI%3D&reserved=0
?
From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Alan.Stiles via Eprints-tech
Sent: 19 July 2022 16:46
To: eprints-tech at 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://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints%2Fblob%2Fc17712b94b9d932aabeded46994701ada8b18ccd%2Fperl_lib%2FEPrints%2FMetaField.pm%23L1389-L1397&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C65b25e086970495fb2df08da699f5b33%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637938430392008470%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=aYM6IZX%2BGDBWDMChBK2JoLjTZywRt%2FXgfSYmkU2WBYQ%3D&reserved=0<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints%2Fblob%2Fc17712b94b9d932aabeded46994701ada8b18ccd%2Fperl_lib%2FEPrints%2FMetaField.pm%23L1389-L1397&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C65b25e086970495fb2df08da699f5b33%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637938430392008470%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=aYM6IZX%2BGDBWDMChBK2JoLjTZywRt%2FXgfSYmkU2WBYQ%3D&reserved=0> but I'm losing where
make_element( "input", type=>"image"...
turns into the page html
<a type="image" src="/style/images/multi_down.png" alt="down" title="move down" name="_internal_c30_creators_down_3" class="epjs_ajax" value="1" href="javascript:">
<img src="/style/images/multi_down.png">
</a>
As the parameters passed in are all being applied to the anchor rather than the contained image.
Thanks,
Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20220719/bf0bd014/attachment-0001.html