It sounds like a stupid question, but I couldn't find an answer: Are too many empty anchor links bad for SEO? We have 4-6 empty anchor links per page that trigger actions like a contact popup form, Woocommerce tabs on a product page etc. The syntax is like: domain.com/# or domain.com/#do-something These links do NOT link to specific HTML content (like the good old back-to-top link). Our SEO expert does not like it, since his tools found too many internal links linking to the very same pages.
As a user I would say: So what? However, our expert is not happy with it. Do these links do any harm in terms of SEO? I'm pretty surprised that this seems still to be debatable in the year 2020.
Links are a way for Google to crawl the site and understand the site structure and pass the right signal. I don't see in your case that having too many links will cause any issues, even when these links are not to a specific HTML content, empty # used for JS this is fine and this is not something to worry about and will not make any difference.
I would avoid using href="#do-something" links for SEO. They are supposed to link to sections of the page by id attribute or name attribute on an anchor tag. Googlebot does pay attention to named anchor fragment URLs like. Googlebot tries to pass PageRank to them and Google may show them in the search results in some cases. If you use six different named anchor links in your page that aren't actually meant to take users to specific content within the page it could really confuse Googlebot and throw off your SEO.