[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.
That looks like the one, thanks John!

From: John Salter <J.Salter at leeds.ac.uk>
Date: Tuesday, 19 July 2022 at 16:57
To: eprints-tech at ecs.soton.ac.uk <eprints-tech at ecs.soton.ac.uk>, Alan.Stiles <alan.stiles at open.ac.uk>
Subject: RE: Alt text for workflow images (3.3.x)

CAUTION: This mail comes from outside the University. Please consider this before opening attachments, clicking links, or acting on the content.
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&amp;data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cc09566a0a8134c185b8208da69a1de72%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637938441185082491%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&amp;sdata=sPa8l%2BW26L2POS8eDwFBbOnWqNUWYKnklAjSw5U%2F%2BvQ%3D&amp;reserved=0<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&amp;data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cc09566a0a8134c185b8208da69a1de72%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637938441185082491%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&amp;sdata=sPa8l%2BW26L2POS8eDwFBbOnWqNUWYKnklAjSw5U%2F%2BvQ%3D&amp;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&amp;data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cc09566a0a8134c185b8208da69a1de72%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637938441185082491%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&amp;sdata=rdBa2pWVPKE8Dvc06LLaYqyPXpj4asstUY3jQKbPGyg%3D&amp;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&amp;data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cc09566a0a8134c185b8208da69a1de72%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637938441185082491%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&amp;sdata=rdBa2pWVPKE8Dvc06LLaYqyPXpj4asstUY3jQKbPGyg%3D&amp;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/a5929b7c/attachment-0001.html