Please typehint ``DOMElement`` instead as you rely on it anyway to access atttributes (I cleaned other methods in one of my recent PRs)