fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2010-07-12 08:23 am

[dw-nonfree] Need to go over tag cloud for semantics/accessibility

[commit: http://hg.dwscoalition.org/dw-nonfree/rev/f4867786bd43]

http://bugs.dwscoalition.org/show_bug.cgi?id=930

For the Improved tag cloud HTML which use a ul/li, not spans: add CSS so
that the list items display inline.

Patch by [personal profile] deborah.

Files modified:
  • bin/upgrading/s2layers/sundaymorning/layout.s2
  • bin/upgrading/s2layers/transmogrified/layout.s2
--------------------------------------------------------------------------------
diff -r 1c372b356d7a -r f4867786bd43 bin/upgrading/s2layers/sundaymorning/layout.s2
--- a/bin/upgrading/s2layers/sundaymorning/layout.s2	Mon Jul 05 13:54:25 2010 +0800
+++ b/bin/upgrading/s2layers/sundaymorning/layout.s2	Mon Jul 12 16:30:00 2010 +0800
@@ -484,6 +484,11 @@ q { font-style: italic;
     text-align: center;
 }
 
+.module-tags_cloud li, .tags_cloud li {
+    display: inline;
+    list-style-type: none;
+}
+
 .module-userprofile .userpic img {
     border: none;
     margin: 20px;
diff -r 1c372b356d7a -r f4867786bd43 bin/upgrading/s2layers/transmogrified/layout.s2
--- a/bin/upgrading/s2layers/transmogrified/layout.s2	Mon Jul 05 13:54:25 2010 +0800
+++ b/bin/upgrading/s2layers/transmogrified/layout.s2	Mon Jul 12 16:30:00 2010 +0800
@@ -602,6 +602,11 @@ function Page::print_default_stylesheet 
     .module-credit dt {
         font-weight: bold;
         margin-right: 0.5em;
+    }
+
+    .module-tags_cloud li, .tags_cloud li {
+        display: inline;
+        list-style-type: none;
     }
 
     .entry, .comment, .text_noentries_day {
--------------------------------------------------------------------------------