According to the WebIDL spec [dictionaries cannot be attributes](https://heycam.github.io/webidl/#ref-for-dfn-attribute%E2%91%A0%E2%91%A8).