Dotclear


Ignore:
Timestamp:
08/16/13 14:16:11 (11 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Message:

Semantic xhtml and a11y. Let labels to be labels. Step One: admin. Plugins and Themes will come later.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/blog.php

    r1358 r1399  
    7777      
    7878     echo 
    79      '<form action="blog.php" method="post" id="blog-form" class="fieldset">'. 
     79     '<form action="blog.php" method="post" id="blog-form">'. 
    8080      
    8181     $core->formNonce(). 
    82      '<p><label class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Blog ID:').' '. 
    83      form::field('blog_id',30,32,html::escapeHTML($blog_id)).'</label></p>'. 
     82     '<p><label class="required" for="blog_id"><abbr title="'.__('Required field').'">*</abbr> '.__('Blog ID:').'</label> '. 
     83     form::field('blog_id',30,32,html::escapeHTML($blog_id)).'</p>'. 
    8484     '<p class="form-note">'.__('At least 2 characters using letters, numbers or symbols.').'</p> '. 
    8585     '<p class="form-note warn">'.__('Please note that changing your blog ID may require changes in your public index.php file.').'</p>'. 
    8686      
    87      '<p><label class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Blog name:').' '. 
    88      form::field('blog_name',30,255,html::escapeHTML($blog_name)).'</label></p>'. 
     87     '<p><label class="required" for="blog_name"><abbr title="'.__('Required field').'">*</abbr> '.__('Blog name:').'</label> '. 
     88     form::field('blog_name',30,255,html::escapeHTML($blog_name)).'</p>'. 
    8989      
    90      '<p><label class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Blog URL:').' '. 
    91      form::field('blog_url',30,255,html::escapeHTML($blog_url)).'</label></p>'. 
     90     '<p><label class="required" for="blog_url"><abbr title="'.__('Required field').'">*</abbr> '.__('Blog URL:').'</label> '. 
     91     form::field('blog_url',30,255,html::escapeHTML($blog_url)).'</p>'. 
    9292      
    9393     '<p class="area"><label for="blog_desc">'.__('Blog description:').'</label> '. 
Note: See TracChangeset for help on using the changeset viewer.

Sites map