Skip to content

Should navigation-links in templates / template parts use the "id" attribute? #25

Description

@bobbingwide

Should I remove the "id" attribute from navigation-link blocks delivered in the theme?

I've already got code that fiddles navigation links to change the hardcoded prefix https://s.b/wp55/thisis to site_url().
Is it true that the "id" attribute is not used in the server side rendering?
Can it be removed?
What about CSS classes?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestquestionFurther information is requested

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions