Using lt="" instead of data-x=""
annevk opened this issue · 4 comments
I think the main problem with this is that at the moment our data-x="" usage is more akin to the usage of IDs whereas the intent of lt="" is to contain the authoritative term.
So we would need to change our existing data-x="" usage first to be more like what lt="" usage is like.
If we change usage maybe we should start using for
at the same time?
That would be nice, though that also involves changing data structures and would be a little more complicated. We probably have to do that though. I guess we should also support dfn-type then?
Yeah.
Realizing that this would involve such a big change moves it down on the priority list to me. But, if we want to work on it, I guess the way to do so would be incremental, i.e. allow both for a long time.
A baby step would be allowing us to make our existing usages more concise. E.g. data-export=""
-> export
, data-dfn-type="event"
-> event
, etc.