Replace misusing <legend> with <figcaption>