Twenty Seventeen html validation errors
-
HTML Tidy gives the following error for Twenty Seventeen for every menu item that has children:
Error: Attribute “href” not allowed on element “use” at this point.
Changing line #105 of /inc/icon-functions.php from
$svg .= ' <use href="#icon-' . esc_html( $args['icon'] ) . '" xlink:href="#icon-' . esc_html( $args['icon'] ) . '"></use> ';
to
$svg .= ' <use xlink:href="#icon-' . esc_html( $args['icon'] ) . '"></use> ';
fixes the error, and I am unable to see any side effects from the change.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Twenty Seventeen html validation errors’ is closed to new replies.