add explicit logic for calculating alt text
Merge pull request #2 from mojavelinux/alt-text

add explicit logic for calculating alt text