Where valid HTML does make an impact is in the overall user experience and accessibility of a site. Poorly structured HTML can lead to rendering issues across different browsers and devices, hurting the usability of a website. This can, in turn, affect metrics like bounce rates and time-on-page—factors that are indirectly tied to rankings.