Add validation for data-* attributes