seo – If several h1 elements are bad practice, how come Optimizely has more than one h1?

Google treats some HTML elements differently than others. We know that the title tag, the description meta-tag, the keyword (deprecated) meta-tag, and the h1 tag have a unique influence on the weight given to these elements and the particular influences they exert. In this, Google will always take the first one found and ignore the rest. It's more of a historical behavior than not.

This means that although it is not a good idea to have more than one h1 label, it is also a waste of time.

Whatever it is, who knows why they use more than one h1 tag, as much as the first of your example is so useless? It is likely that the first h1 tag exists for another reason, not for SEO. This is probably a mistake. Otherwise, it does not make sense.