That should be straightforward as the code already has ALT tags there but just set to null. I can probably take them from the input array and just inject the text.
If that's something you're interested in can I ask you to do me a favour & raise it here so I don't forget!
github.com/williamsdb/p...