Template translation uses nonstandard HTML attributes
Concerned version
Version: 2.0
Summary
Currently we use attributes such as trspan
and trplaceholder
inside HTML templates
These attributes are reported by the W3 validator as nonstandard:
Logs
https://validator.w3.org/nu/?doc=http%3A%2F%2Fauth.openid.club
- Error: Attribute trspan not allowed on element title at this point.
- Error: Attribute trplaceholder not allowed on element input at this point.
- etc.
Possible fixes
We should probably be using "data-" attributes instead: https://html.spec.whatwg.org/multipage/dom.html#embedding-custom-non-visible-data-with-the-data--attributes
Doing so might break custom templates if we do it during the 2.0 cycle