The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PROBLEM Innovation theme's template generates HTML5 warnings
#1
For demo purposes I must create a site that uses the default "Innovation" theme and that will be 100% valid HTML-5.
Unfortunately, the specific use of the <article> and <section> tags in the theme's template.php generate HTML-5 warnings (I'm using "validator.nu engine" to run the checks):

  1. <article> used without heading:
    Quote:Line 62, column 11: Article lacks heading.
  2. <section> within <article> contains <h1>:
    Quote:Line 66, column 8: Consider using the h1 element as a top-level heading only.
I'm not sure how to solve this as:
  1. All of the page's content, including the page's title (the <h1>), ends up between the <section></section> tags. So every page is an article (without header) with one section containing the entire content.
  2. The theme's css file uses both article and section to define the theme's layout.
  3. According to HTML-5 rules <div> should be used to split up a page based on layout, whereas <article> and <section> should be used to semantically split up a page based on (independent blocks of) content, each article/section with its own header (<h1> for article, <h2>-<h6> for section).
I've checked the GetSimple Support Forum and Github, but I haven't seen anyone mentioning this or working on this issue.
Thanks for any help and/or suggestions!
Reply


Messages In This Thread
Innovation theme's template generates HTML5 warnings - by Maribe - 2014-07-08, 22:43:38



Users browsing this thread: 2 Guest(s)