No, the onclick attribute itself does not directly impact SEO. However, its implementation can indirectly affect factors like content accessibility, user experience, and site speed that search engines consider.