That's fine. As long as the sensor is available the user can expose it. I think this is a pretty cool idea, and would yield more accurate measurements than estimating based off of latitude and cloud coverage alone. Albeit it'll all but guarantee tan lines.
How much sun does that block? Workarounds may be feasible, depending on the mechanism.
The thickness and color of the cloth would affect how strong the SPF is for any given shirt.