Permalink
Browse files

MDL-30903 Accessibility: user profile page uses table headers

  • Loading branch information...
1 parent 14fdcb4 commit 0d1e39b466c93e442a92011f759cb254f3d83e2e @FMCorz FMCorz committed May 23, 2012
Showing with 3 additions and 2 deletions.
  1. +1 −0 theme/base/style/user.css
  2. +1 −1 user/profile.php
  3. +1 −1 user/view.php
@@ -3,6 +3,7 @@
.userprofile .fullprofilelink {text-align:center; margin:10px;}
.userprofile .profilepicture {float:left; margin-right:20px;}
.userprofile .description {margin-bottom:20px;}
+.userprofile .label {font-weight:normal;text-align:left;}
.user-box {margin:8px;width:115px;height:160px;text-align:center;float:left;clear: none;}
View
@@ -377,5 +377,5 @@
function print_row($left, $right) {
- echo "\n<tr><td class=\"label c0\">$left</td><td class=\"info c1\">$right</td></tr>\n";
+ echo "\n<tr><th class=\"label c0\">$left</th><td class=\"info c1\">$right</td></tr>\n";
}
View
@@ -354,7 +354,7 @@
/// Functions ///////
function print_row($left, $right) {
- echo "\n<tr><td class=\"label c0\">$left</td><td class=\"info c1\">$right</td></tr>\n";
+ echo "\n<tr><th class=\"label c0\">$left</th><td class=\"info c1\">$right</td></tr>\n";
}

0 comments on commit 0d1e39b

Please sign in to comment.