Typo
Improve data attribute checks