Google’s John Mueller was asked if the button attribute is treated like a link attribute. The answer was a resounding “no”. John continued Twitter “Buttons aren’t links and inherently don’t have URLs attached to actions, so we wouldn’t use them for crawling or anything else.”
Yes there is Button tag or attribute, but it’s a CSS styling attribute. You can have a link attribute around it and then google will pick up the link. But you can also use a button attribute without a link and thus there is no link for crawling Google or for link signaling purposes.
Seems to be straightforward …
Here are these tweets:
Buttons are not links and inherently do not have URLs attached to actions, so we would not use them for crawling or otherwise.
– 🧀 John 🧀 (@JohnMu) October 15, 2021
Forum discussion at Twitter.