@SaraSoueidan An interesting proposal, but... According to the spec, data attributes are for JS only. On the other hand, we have CSS selectors for them. I think it's good to have options, but I think is best to keep classes for CSS and data for JS as much as it makes sense, in order to keep separation of concerns and be polite to the next poor soul that gets to maintain your code.