Yes, I just want to obfuscate the link in the h2, it means that I want to remove the link and put in a button like this: <button onclick=”location.href=’http://www.example.fr/contact/'”>CONTACTEZ NOUS</button> instead of href.
I would want this only for the home page and for all the h2
Are you sure about that? It’s a standard practice to have <h2> element as the post titles on the blog page – this is determined by WordPress itself and not the theme.
I’ve never heard that using a button is better for SEO.