[geeklog-hg] geeklog: Denim: changed doctype to HTML5 and appended the role a...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sat Nov 8 10:27:03 EST 2014


changeset 9548:d073bbf220c0
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/d073bbf220c0
user: dengen <taharaxp at gmail.com>
date: Sun Nov 09 00:25:07 2014 +0900
description:
Denim: changed doctype to HTML5 and appended the role attributes in order to improve the web accessibility (feature request #0001784)

diffstat:

 public_html/layout/denim/README                                 |  10 +-
 public_html/layout/denim/admin/block/blockeditor.thtml          |   2 +-
 public_html/layout/denim/admin/config/configuration.thtml       |   6 +-
 public_html/layout/denim/admin/story/storyeditor.thtml          |   2 +-
 public_html/layout/denim/admin/story/storyeditor_advanced.thtml |   2 +-
 public_html/layout/denim/admin/topic/topiceditor.thtml          |   2 +-
 public_html/layout/denim/archivestorytext.thtml                 |  48 +++++----
 public_html/layout/denim/blockfooter-config.thtml               |   2 +-
 public_html/layout/denim/blockfooter-left.thtml                 |   2 +-
 public_html/layout/denim/blockfooter-list.thtml                 |   4 +-
 public_html/layout/denim/blockfooter-message.thtml              |   2 +-
 public_html/layout/denim/blockfooter-related.thtml              |   2 +-
 public_html/layout/denim/blockfooter-right.thtml                |   2 +-
 public_html/layout/denim/blockfooter.thtml                      |   2 +-
 public_html/layout/denim/blockheader-config.thtml               |   2 +-
 public_html/layout/denim/blockheader-left.thtml                 |   2 +-
 public_html/layout/denim/blockheader-list.thtml                 |   4 +-
 public_html/layout/denim/blockheader-message.thtml              |   2 +-
 public_html/layout/denim/blockheader-related.thtml              |   2 +-
 public_html/layout/denim/blockheader-right.thtml                |   2 +-
 public_html/layout/denim/blockheader.thtml                      |   2 +-
 public_html/layout/denim/comment/comment.thtml                  |   2 +-
 public_html/layout/denim/comment/startcomment.thtml             |   4 +-
 public_html/layout/denim/featuredstorytext.thtml                |  48 +++++----
 public_html/layout/denim/footer.thtml                           |   6 +-
 public_html/layout/denim/functions.php                          |   2 +-
 public_html/layout/denim/header.thtml                           |  25 ++---
 public_html/layout/denim/leftblocks.thtml                       |   6 +-
 public_html/layout/denim/pagenavigation.thtml                   |   4 +-
 public_html/layout/denim/rightblocks.thtml                      |   2 +-
 public_html/layout/denim/storytext.thtml                        |  48 +++++----
 public_html/layout/denim/trackback/trackback.thtml              |   4 +-
 32 files changed, 130 insertions(+), 125 deletions(-)

diffs (truncated from 690 to 300 lines):

diff -r e37702d74bd0 -r d073bbf220c0 public_html/layout/denim/README
--- a/public_html/layout/denim/README	Sun Nov 02 22:54:12 2014 +0900
+++ b/public_html/layout/denim/README	Sun Nov 09 00:25:07 2014 +0900
@@ -11,7 +11,7 @@
 // | Denim theme is based on prior work by:                                    |
 // | Authors: Fumito Arakawa   - http://phize.net/                             |
 // |          Tetsuko Konma    - http://www.ivywe.co.jp/                       |
-// |          Geeklog Japanese - http://www.geeklog.jp/                        |
+// |          Geeklog Japan    - http://www.geeklog.jp/                        |
 // +---------------------------------------------------------------------------+
 // |                                                                           |
 // | This program is free software; you can redistribute it and/or             |
@@ -35,7 +35,7 @@
   Pofile
 ==============================================================================*/
 
-Geeklog theme using XHTML 1.0 Transitional + CSS 2.0 and eliminate table tags.
+Geeklog theme using HTML5 + CSS 3.0 and eliminate table tags.
 This theme is adopted the Responsive Web Design.
 This theme is mobile friendly.
 
@@ -47,8 +47,8 @@
 Basic markup is following:
 
 <div id="container">
-    <div id="header">Header</div>
-    <div id="navigation">Navigation</div>
+    <header id="header">Header</header>
+    <nav id="navigation">Navigation</nav>
     <div id="wrapper">
         <div id="centerblocks">
             <div id="main-content">Main Content</div>
@@ -56,5 +56,5 @@
         <div id="leftblocks">Left Blocks</div>
         <div id="rightblocks">Right Blocks</div>
     </div>
-    <div id="footer">Footer</div>
+    <footer id="footer">Footer</footer>
 </div>
diff -r e37702d74bd0 -r d073bbf220c0 public_html/layout/denim/admin/block/blockeditor.thtml
--- a/public_html/layout/denim/admin/block/blockeditor.thtml	Sun Nov 02 22:54:12 2014 +0900
+++ b/public_html/layout/denim/admin/block/blockeditor.thtml	Sun Nov 09 00:25:07 2014 +0900
@@ -99,7 +99,7 @@
         <dt><label for="group_id">{lang_group}</label></dt>
         <dd>{group_dropdown}</dd>
 
-        <dt><label for="admin-permissions">{lang_permissions}</label></dt>
+        <dt>{lang_permissions}</dt>
         <dd>{permissions_editor}</dd>
         <dd class="description">{lang_perm_key}</dd>
         <dd class="description">{lang_permissions_msg}</dd>
diff -r e37702d74bd0 -r d073bbf220c0 public_html/layout/denim/admin/config/configuration.thtml
--- a/public_html/layout/denim/admin/config/configuration.thtml	Sun Nov 02 22:54:12 2014 +0900
+++ b/public_html/layout/denim/admin/config/configuration.thtml	Sun Nov 09 00:25:07 2014 +0900
@@ -9,11 +9,11 @@
     </form>
 
     <div id="config_menu">
-        <div id="search-configuration-container">
-            <label for="search-configuration">{search_configuration_label}</label>
+        <section id="search-configuration-container" role="search">
+            <h2 class="block-title">{search_configuration_label}</h2>
             <input name="search-configuration" id="search-configuration" type="text" value="{search_configuration_value}"{xhtml}>
             <input name="tab-id" id="tab-id" type="hidden" value="{tab_id_value}"{xhtml}>
-        </div>
+        </section>
         {config_menu}
     </div>
 
diff -r e37702d74bd0 -r d073bbf220c0 public_html/layout/denim/admin/story/storyeditor.thtml
--- a/public_html/layout/denim/admin/story/storyeditor.thtml	Sun Nov 02 22:54:12 2014 +0900
+++ b/public_html/layout/denim/admin/story/storyeditor.thtml	Sun Nov 09 00:25:07 2014 +0900
@@ -177,7 +177,7 @@
         <dt><label for="group_id">{lang_group}</label></dt>
         <dd>{group_dropdown}</dd>
 
-        <dt><label for="admin-permissions">{lang_permissions}</label></dt>
+        <dt>{lang_permissions}</dt>
         <dd>{permissions_editor}</dd>
         <dd class="description">{lang_perm_key}</dd>
         <dd class="description">{lang_permissions_msg}</dd>
diff -r e37702d74bd0 -r d073bbf220c0 public_html/layout/denim/admin/story/storyeditor_advanced.thtml
--- a/public_html/layout/denim/admin/story/storyeditor_advanced.thtml	Sun Nov 02 22:54:12 2014 +0900
+++ b/public_html/layout/denim/admin/story/storyeditor_advanced.thtml	Sun Nov 09 00:25:07 2014 +0900
@@ -267,7 +267,7 @@
       <dt><label for="group_id">{lang_group}</label></dt>
       <dd>{group_dropdown}</dd>
 
-      <dt><label for="admin-permissions">{lang_permissions}</label></dt>
+      <dt>{lang_permissions}</dt>
       <dd>{permissions_editor}</dd>
       <dd class="description">{lang_perm_key}</dd>
       <dd class="description">{lang_permissions_msg}</dd>
diff -r e37702d74bd0 -r d073bbf220c0 public_html/layout/denim/admin/topic/topiceditor.thtml
--- a/public_html/layout/denim/admin/topic/topiceditor.thtml	Sun Nov 02 22:54:12 2014 +0900
+++ b/public_html/layout/denim/admin/topic/topiceditor.thtml	Sun Nov 09 00:25:07 2014 +0900
@@ -62,7 +62,7 @@
         <dt><label for="group_id">{lang_group}</label></dt>
         <dd>{group_dropdown}</dd>
 
-        <dt><label for="admin-permissions">{lang_permissions}</label></dt>
+        <dt>{lang_permissions}</dt>
         <dd>{permissions_editor}</dd>
         <dd class="description">{lang_perm_key}</dd>
         <dd class="description">{lang_permissions_msg}</dd>
diff -r e37702d74bd0 -r d073bbf220c0 public_html/layout/denim/archivestorytext.thtml
--- a/public_html/layout/denim/archivestorytext.thtml	Sun Nov 02 22:54:12 2014 +0900
+++ b/public_html/layout/denim/archivestorytext.thtml	Sun Nov 09 00:25:07 2014 +0900
@@ -1,40 +1,44 @@
 {# begin {templatelocation} #}
 
-<div class="storytext archivestorytext">
-  <h2 class="story_title">{story_title_link}</h2>
+<article class="storytext archivestorytext">
+  <header>
+    <h2 class="story_title">{story_title_link}</h2>
 
-  <div class="story_icon">
-    {email_icon}{print_icon}{edit_icon}
-  </div>
+    <div class="story_icon">
+      {email_icon}{print_icon}{edit_icon}
+    </div>
 
-  <ul class="story_status">
-    <li>{story_date}</li>
-    <li>{lang_contributed_by} {start_contributedby_anchortag}{contributedby_author}{end_contributedby_anchortag}</li>
-    <li>{lang_views} {story_hits}</li>
-  </ul>
+    <ul class="story_status">
+      <li>{story_date}</li>
+      <li>{lang_contributed_by} {start_contributedby_anchortag}{contributedby_author}{end_contributedby_anchortag}</li>
+      <li>{lang_views} {story_hits}</li>
+    </ul>
+  </header>
 
   <div class="story_introtext">
     <span class="story_image">{story_anchortag_and_image_no_align}</span>
     {story_text_no_br}
   </div>
 
-  {related_topics}
+  <footer>
+    {related_topics}
 
 {!if navi_list}
-  <ul class="story_navi">
-    {!if page_selector}<li>{page_selector}</li>{!endif}
-    {!if readmore_link}<li>{readmore_link}</li>{!endif}
-    {!if post_comment_link}<li>{post_comment_link}</li>{!endif}
-  </ul>
+    <ul class="story_navi">
+      {!if page_selector}<li>{page_selector}</li>{!endif}
+      {!if readmore_link}<li>{readmore_link}</li>{!endif}
+      {!if post_comment_link}<li>{post_comment_link}</li>{!endif}
+    </ul>
 {!endif}
 
 {!if feedback_list}
-  <ul class="feedback">
-    {!if plugin_itemdisplay}<li>{plugin_itemdisplay}</li>{!endif}
-    {!if comments_with_count}<li>{comments_with_count}</li>{!endif}
-    {!if trackbacks_with_count}<li>{trackbacks_with_count}</li>{!endif}
-  </ul>
+    <ul class="feedback">
+      {!if plugin_itemdisplay}<li>{plugin_itemdisplay}</li>{!endif}
+      {!if comments_with_count}<li>{comments_with_count}</li>{!endif}
+      {!if trackbacks_with_count}<li>{trackbacks_with_count}</li>{!endif}
+    </ul>
 {!endif}
-</div>
+  </footer>
+</article>
 
 {# end {templatelocation} #}
diff -r e37702d74bd0 -r d073bbf220c0 public_html/layout/denim/blockfooter-config.thtml
--- a/public_html/layout/denim/blockfooter-config.thtml	Sun Nov 02 22:54:12 2014 +0900
+++ b/public_html/layout/denim/blockfooter-config.thtml	Sun Nov 09 00:25:07 2014 +0900
@@ -1,6 +1,6 @@
 <!-- blockfooter-config.thtml { -->
 
     </ul>
-</div>
+</nav>
 
 <!-- } blockfooter-config.thtml -->
diff -r e37702d74bd0 -r d073bbf220c0 public_html/layout/denim/blockfooter-left.thtml
--- a/public_html/layout/denim/blockfooter-left.thtml	Sun Nov 02 22:54:12 2014 +0900
+++ b/public_html/layout/denim/blockfooter-left.thtml	Sun Nov 09 00:25:07 2014 +0900
@@ -2,6 +2,6 @@
 <!-- blockfooter-left.thtml { -->
 
       </div>
-    </div>
+    </section>
 
 <!-- } blockfooter-left.thtml -->
diff -r e37702d74bd0 -r d073bbf220c0 public_html/layout/denim/blockfooter-list.thtml
--- a/public_html/layout/denim/blockfooter-list.thtml	Sun Nov 02 22:54:12 2014 +0900
+++ b/public_html/layout/denim/blockfooter-list.thtml	Sun Nov 09 00:25:07 2014 +0900
@@ -2,7 +2,7 @@
 <!-- blockfooter-list.thtml { -->
 
     </ul>
-    </div>
-</div>
+  </nav>
+</section>
 
 <!-- } blockfooter-list.thtml -->
diff -r e37702d74bd0 -r d073bbf220c0 public_html/layout/denim/blockfooter-message.thtml
--- a/public_html/layout/denim/blockfooter-message.thtml	Sun Nov 02 22:54:12 2014 +0900
+++ b/public_html/layout/denim/blockfooter-message.thtml	Sun Nov 09 00:25:07 2014 +0900
@@ -3,6 +3,6 @@
 
     </dd>
   </dl>
-</div>
+</aside>
 
 <!-- } blockfooter-message.thtml -->
diff -r e37702d74bd0 -r d073bbf220c0 public_html/layout/denim/blockfooter-related.thtml
--- a/public_html/layout/denim/blockfooter-related.thtml	Sun Nov 02 22:54:12 2014 +0900
+++ b/public_html/layout/denim/blockfooter-related.thtml	Sun Nov 09 00:25:07 2014 +0900
@@ -2,6 +2,6 @@
 <!-- blockfooter-related.thtml { -->
 
   </div>
-</div>
+</aside>
 
 <!-- } blockfooter-related.thtml -->
diff -r e37702d74bd0 -r d073bbf220c0 public_html/layout/denim/blockfooter-right.thtml
--- a/public_html/layout/denim/blockfooter-right.thtml	Sun Nov 02 22:54:12 2014 +0900
+++ b/public_html/layout/denim/blockfooter-right.thtml	Sun Nov 09 00:25:07 2014 +0900
@@ -2,6 +2,6 @@
 <!-- blockfooter-right.thtml { -->
 
       </div>
-    </div>
+    </section>
 
 <!-- } blockfooter-right.thtml -->
diff -r e37702d74bd0 -r d073bbf220c0 public_html/layout/denim/blockfooter.thtml
--- a/public_html/layout/denim/blockfooter.thtml	Sun Nov 02 22:54:12 2014 +0900
+++ b/public_html/layout/denim/blockfooter.thtml	Sun Nov 09 00:25:07 2014 +0900
@@ -2,7 +2,7 @@
 <!-- blockfooter.thtml { -->
 
   </div>
-</div>
+</section>
 
 <!-- } blockfooter.thtml -->
  
\ No newline at end of file
diff -r e37702d74bd0 -r d073bbf220c0 public_html/layout/denim/blockheader-config.thtml
--- a/public_html/layout/denim/blockheader-config.thtml	Sun Nov 02 22:54:12 2014 +0900
+++ b/public_html/layout/denim/blockheader-config.thtml	Sun Nov 09 00:25:07 2014 +0900
@@ -1,7 +1,7 @@
 
 <!-- blockheader-config.thtml { -->
 
-<div class="block-config">
+<nav class="block-config" role="navigation">
     <h2 class="block-title">{block_title}{block_help}</h2>
     <ul class="block-config-content">
 
diff -r e37702d74bd0 -r d073bbf220c0 public_html/layout/denim/blockheader-left.thtml
--- a/public_html/layout/denim/blockheader-left.thtml	Sun Nov 02 22:54:12 2014 +0900
+++ b/public_html/layout/denim/blockheader-left.thtml	Sun Nov 09 00:25:07 2014 +0900
@@ -1,7 +1,7 @@
 
 <!-- blockheader-left.thtml { -->
 
-    <div class="block-left">
+    <section class="block-left">
       <h2 class="block-title">{block_title}{block_help}</h2>
       <div class="block-left-content">
 
diff -r e37702d74bd0 -r d073bbf220c0 public_html/layout/denim/blockheader-list.thtml
--- a/public_html/layout/denim/blockheader-list.thtml	Sun Nov 02 22:54:12 2014 +0900
+++ b/public_html/layout/denim/blockheader-list.thtml	Sun Nov 09 00:25:07 2014 +0900
@@ -1,9 +1,9 @@
 
 <!-- blockheader-list.thtml { -->
 
-<div class="block-list">
+<section class="block-list">
     <h2 class="block-title">{block_title}{block_help}</h2>
-      <div class="block-list-content">
+  <nav class="block-list-content" role="navigation">
       <ul class="noliststyle">
 
 <!-- } blockheader-list.thtml -->
diff -r e37702d74bd0 -r d073bbf220c0 public_html/layout/denim/blockheader-message.thtml
--- a/public_html/layout/denim/blockheader-message.thtml	Sun Nov 02 22:54:12 2014 +0900
+++ b/public_html/layout/denim/blockheader-message.thtml	Sun Nov 09 00:25:07 2014 +0900
@@ -1,7 +1,7 @@
 



More information about the geeklog-cvs mailing list