You're right about alt attributes. But imagine using some assistive browser technology like JAWS and hearing "This is a photo of..." over and over
this is a photo of a widget base displaying the XYZ attribute.
How about "widget base displaying the XYZ attribute"? I also don't think that exact phrase match in alt attributes is a big deal, especially if the entire phrase is there and in the correct word order.