Hi,

on my html5 sites I get validation errors in this kind:

Bad value lightbox[] for attribute rel on element a: Keyword lightbox[] is not registered.

Jan

Comments

yukare’s picture

Status: Active » Closed (won't fix)

We need some way to make a link used by lightbox not equal as the other links in the page, and we do this by using rel="lightbox", so i do not know any way to fix this.

C. Lee’s picture

Priority: Normal » Minor
Status: Closed (won't fix) » Active

In HTML5, you can use data-* attribute to store values in HTML nodes. See http://html5doctor.com/html5-custom-data-attributes/ for more details. In jQuery, you can access the data via data() function. Example: http://jsfiddle.net/4yHQC/