Skip to content

[BUG] <button> element not allowed inside anchor (<a>) #549

@danielfdickinson

Description

@danielfdickinson

HTML validators complain (correctly) about the footer "top-link" which has a <button> inside an anchor (<a>) element.

As per Mozilla Developer Network page for <a> element allowed properties 'interactive elements' (including <button>) are not allowed inside an anchor element (<a>).

I am experimenting with replacing the <button> with <span> (which is allowed) and will hopefully soon have a PR available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions