what if there's a `title`, `class`, `ref` attribute?