Does text-shadow alone guarantee enough contrast over any photo?
No, because the WCAG 2.1 contrast ratio compares text and background pixel by pixel, and a photo has variable luminance; a fixed text-shadow helps across the more uniform regions of the image, but it fails exactly where the photo shifts from bright to dark underneath the text itself.
What overlay opacity do I need to pass WCAG criterion 1.4.3?
There is no universal number, because it depends on the text color and the average luminance of the photo under the overlay; common practice starts at 40% to 50% black and increases until a measured ratio, checked with a contrast tool, reaches 4.5:1 for normal text or 3:1 for large text.
Why is my title readable in the preview but not on a phone?
Photos resized for a small screen lose fine detail and sometimes gain more internal contrast from compression, so a shadow and overlay combination calibrated on desktop may leave no safety margin on a smaller screen; always test at the real display size, not just zoomed in.
Can I use text-shadow and an overlay together without overdoing it?
Yes, and it is the most robust combination: a light 30% to 40% overlay solves the average contrast across the whole image, and a short 2 to 3px blur shadow only reinforces the letter edges at the points where the overlay alone still leaves reading marginal.