W3C compliance fix