You have an <a> element inside a <button> element. That means you did something like this:
<<button 'text'>>
[[link]]
<</button>>
or
<<button 'text'>>
<<link 'text'>>...<</link>>
<</button>>
This creates the html structure:
<button ...>
<a ...>...</a>
</button>
Which is invalid HTML5. That it works at all in any browser is just because some browsers are more tolerant of malformed html than others, but it is incorrect, and isn't officially supported by any browser.