+1. In this particular case <details> might be more appropriate, though. We recently got support for a `name` attribute which allows for accordion groups without JS (which is basically the same as tabs, and also comes with all the accessibility for free):
https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/...