Fix W3C validation errors and headings