I'd usually prefer using classes instead of attribute selectors as they might be more efficient, but I see that this data attribute is also containing a useful value.