View Issue Details

This issue affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
04618Bug reportsTheme editorpublic2010-09-29 16:29
Reporterluke Assigned Totpartner  
PrioritylowSeverityminor 
Status closedResolutionfixed 
Product Version1.90+ 
Summary04618: "business gray" template includes HTML errors
Description

The site created with this template does not pass W3C validation.

Steps To Reproduce
  1. Create a new survey using the file atatched.
  2. Execute survey, go to the questions page (pass the welcome page)
  3. In your browser, preview the page source.
  4. Copy the source HTML to clipboard.
  5. Go to: http://validator.w3.org
  6. Select the "Validate by direct output" tab
  7. Paste the code to be validated
  8. Submit
Additional Information

Errors I get:

  1. Line 38, Column 98: there is no attribute "autocomplete"
  2. Line 116, Column 5: end tag for "form" omitted, but OMITTAG NO was specified
  3. Line 149, Column 80: there is no attribute "alt"
  4. Line 187, Column 33: document type does not allow element "ul" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
  5. Line 241, Column 4: document type does not allow element "ul" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
  6. Line 329, Column 7: end tag for element "form" which is not open
TagsNo tags attached.
Attached Files
business_gray_test.csv (5,547 bytes)
Bug heat8
Complete LimeSurvey version number (& build)0000
I will donate to the project if issue is resolved
Browser
Database type & versionyour demo server
Server OS (if known)your demo server
Webserver software & version (if known)your demo server
PHP Versionyour demo server
Git branch / Pull Request URL

Users monitoring this issue

luke

Activities

Mazi

Mazi

2010-09-22 01:46

updater   ~12893

Tony, can you confirm or, even better, see if you can fix this?

tpartner

tpartner

2010-09-22 01:59

partner   ~12895

Yup - I've already tracked down a couple of errors. Working...

tpartner

tpartner

2010-09-22 22:30

partner   ~12900

Okay, this turned into a bit of a project.

After heavily modifying the template layout in the .pstpl files and moving all of the inline styles into template.css, I have removed all of the html validation errors except for a couple of misplaced element attributes. The attributes will not affect display or accessibility so I'm leaving the in case they are used by JavaScript/jQuery somewhere.

Thanks for the report Luke.

c_schmitz

c_schmitz

2010-09-29 16:29

administrator   ~12931

New 1.90+ version was released.

Issue History

Date Modified Username Field Change
2010-09-22 00:10 luke New Issue
2010-09-22 00:10 luke File Added: business_gray_test.csv
2010-09-22 01:45 Mazi Assigned To => tpartner
2010-09-22 01:45 Mazi Status new => assigned
2010-09-22 01:46 Mazi Note Added: 12893
2010-09-22 01:59 tpartner Note Added: 12895
2010-09-22 15:01 luke Issue Monitored: luke
2010-09-22 22:30 tpartner Note Added: 12900
2010-09-22 22:30 tpartner Status assigned => resolved
2010-09-22 22:30 tpartner Resolution open => fixed
2010-09-22 23:19 Mazi File Deleted: business_gray_test.csv
2010-09-22 23:40 luke File Added: business_gray_test.csv
2010-09-29 16:29 c_schmitz Note Added: 12931
2010-09-29 16:29 c_schmitz Status resolved => closed
2015-12-11 14:40 c_schmitz Category Templates => Theme editor