Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#25755 closed defect (bug) (invalid)

Wordpress Gallery does not Validate in HTML5

Reported by: finalphoenix's profile FinalPhoenix Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:

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)

#1 @helen
11 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

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.

Note: See TracTickets for help on using tickets.