Altough not directly related, having your pages validated is important to the end users (ultimately, it is the human readers that consume your content). There is no point optimizing a page to make it on top of the SERP but content is not properly shown to the users (due to validation errors etc)..