Simply, the specification for custom data attributes states that any attribute that starts with "data-" will be treated as a storage area for private data (private in the sense that the end user can't see it - it doesn't affect layout or presentation).
This allows you to write valid HTML markup (passing an HTML 5 validator) while, simultaneously, embedding data within your page
R. Hammwöhner. The Social Semantic Web 2007 - Proceedings of the 1st Conference on Social Semantic Web, Bonn, Universit\ät Leipzig, Germany, Gesellschaft f\ür Informatik, (2007)
T. Hara, M. Ito, и S. Nishio. CIKM '08: Proceeding of the 17th ACM conference on Information and knowledge management, стр. 817-826. New York, NY, USA, ACM, (2008)
G. Jeh, и J. Widom. KDD '02: Proceedings of the eighth ACM SIGKDD international conference on Knowledge discovery and data mining, стр. 538--543. New York, NY, USA, ACM Press, (2002)
J. Kazama, и K. Torisawa. Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning, стр. 698--707. (2007)
B. Kessler, G. Numberg, и H. Schütze. ACL-35: Proceedings of the 35th Annual Meeting of the Association for Computational Linguistics and Eighth Conference of the European Chapter of the Association for Computational Linguistics, стр. 32--38. Morristown, NJ, USA, Association for Computational Linguistics, (1997)
A. Kittur, и R. Kraut. CSCW '08: Proceedings of the ACM 2008 conference on Computer supported cooperative work, стр. 37--46. New York, NY, USA, ACM, (2008)
A. Kittur, B. Suh, B. Pendleton, и E. Chi. CHI '07: Proceedings of the SIGCHI conference on Human factors in computing systems, стр. 453--462. New York, NY, USA, ACM, (2007)
A. Klementiev, и D. Roth. Proceedings of the 21st International Conference on Computational Linguistics and 44th Annual Meeting of the Association for Computational Linguistics, стр. 817--824. Sydney, Australia, Association for Computational Linguistics, (июля 2006)
A. Klementiev, и D. Roth. Proceedings of the main conference on Human Language Technology Conference of the North American Chapter of the Association of Computational Linguistics, стр. 82--88. Morristown, NJ, USA, Association for Computational Linguistics, (2006)