Skip to content

duplicate id #8

@resonantdoghouse

Description

@resonantdoghouse

Be careful setting the id for the 'learn more' link as this is currently causing duplicate id attributes to be on the page which could cause problems e.g. smooth scroll or hooking in some js functionality. It also won't pass a W3C validator.

? '<small class="nav_desc">' . esc_attr( $item->description ) . '</small><a href="' . esc_attr( $item->url ) . '" id="learn-more">Learn More</a>' : '';

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions