Opened 13 years ago
Closed 13 years ago
#25755 closed defect (bug) (invalid)
Wordpress Gallery does not Validate in HTML5
| Reported by: | FinalPhoenix | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Currently using the wordpress gallery on a site and realized that it does not validate with HTML5, the two errors I always seem to get are:
Bad value lightbox[gallery-1] for attribute rel on element a: The string lightbox[gallery-1] is not a registered keyword or absolute URL.
and
Element dl is missing a required instance of child element dd.
with two simple fixes to the core I think these can be fixed
Change History (1)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Core does not add rel attribute values anywhere, and definitely not for a lightbox. This sounds like a plugin or theme filtering your gallery output. If you can reproduce with a default theme (e.g. Twenty Thirteen) and no plugins, please feel free to reopen. Otherwise, you'll want to try the forums.