Dotclear

Changeset 2983:15189c4a828f


Ignore:
Timestamp:
03/30/15 17:57:44 (10 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Keep h1 only for blog title -> W3C recommandation: Consider using the h1 element as a top-level heading only (all h1 elements are treated as top-level headings by many screen readers and other tools).

Files:
6 edited

Legend:

Unmodified
Added
Removed
  • inc/public/default-templates/baklava/_entry-feedback.html

    r2982 r2983  
    88          <tpl:CommentsHeader> 
    99               <section class="feedback__comments" id="comments"> 
    10                     <h1>{{tpl:EntryCommentCount count_all="1" none="no reactions" one="one reaction" more="%s reactions"}}</h3> 
     10                    <h2>{{tpl:EntryCommentCount count_all="1" none="no reactions" one="one reaction" more="%s reactions"}}</h2> 
    1111                    <tpl:EntryIf operator="or" comments_active="1" pings_active="1"> 
    1212                         <p id="comments-feed"><a class="feed" href="{{tpl:BlogFeedURL type="atom"}}/comments/{{tpl:EntryID}}" 
  • inc/public/default-templates/baklava/archive.html

    r2982 r2983  
    3535          <section id="time-criteria"><!-- entries sorted by date --> 
    3636               <div id="arch-by-year" class="arch-block arch-by-year"> 
    37                     <h1>{{tpl:lang By date}}</h1> 
     37                    <h2>{{tpl:lang By date}}</h2> 
    3838                    <p class="fromto">{{tpl:lang FromDay}} <tpl:Entries no_content="1" order="asc" lastn="1"><a href="{{tpl:EntryURL}}">{{tpl:EntryDate format="%e %B %Y"}}</a></tpl:Entries> {{tpl:lang toDay}} <tpl:Entries no_content="1" order="desc" lastn="1"><a href="{{tpl:EntryURL}}">{{tpl:EntryDate format="%e %B %Y"}}</a></tpl:Entries></p> 
    3939                    <tpl:Archives order="asc"> 
     
    5757                    <tpl:CategoriesHeader> 
    5858                         <div id="arch-by-cat" class="arch-block arch-by-cat"> 
    59                               <h1>{{tpl:lang By category}}</h1> 
     59                              <h2>{{tpl:lang By category}}</h2> 
    6060                              <ul class="arch-list arch-cat-list"> 
    6161                                   </tpl:CategoriesHeader> 
     
    8080                    <tpl:TagsHeader> 
    8181                         <div id="arch-by-tag" class="arch-block arch-by-tag"> 
    82                               <h1>{{tpl:lang By tag}}</h1> 
     82                              <h2>{{tpl:lang By tag}}</h2> 
    8383                              <ul class="arch-list arch-tag-list"> 
    8484                    </tpl:TagsHeader> 
     
    9595                    <tpl:Entries type="page" no_content="1" lastn="0" selected="0"> 
    9696                         <tpl:EntriesHeader> 
    97                               <h1>{{tpl:lang Pages}}</h1> 
     97                              <h2>{{tpl:lang Pages}}</h2> 
    9898                              <ul class="arch-list arch-page-list"> 
    9999                         </tpl:EntriesHeader> 
  • inc/public/default-templates/baklava/archive_month.html

    r2982 r2983  
    3838          </nav> 
    3939 
    40           <h1>{{tpl:ArchiveDate}} <span>({{tpl:ArchiveEntriesCount}})</span></h1> 
     40          <h2>{{tpl:ArchiveDate}} <span>({{tpl:ArchiveEntriesCount}})</span></h2> 
    4141     </header> 
    4242 
  • inc/public/default-templates/baklava/category.html

    r2982 r2983  
    4949<tpl:Block name="main-content"> 
    5050     <header id="content-info"> 
    51           <h1> 
     51          <h2> 
    5252               <tpl:CategoryParents> 
    5353                    <a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a> &rsaquo; 
    5454               </tpl:CategoryParents> 
    5555               {{tpl:CategoryTitle encode_html="1"}} 
    56           </h1> 
     56          </h2> 
    5757 
    5858          <tpl:CategoryIf has_entries="1"> 
  • plugins/tags/default-templates/baklava/tag.html

    r2982 r2983  
    4444<tpl:Block name="main-content"> 
    4545     <header id="content-info"> 
    46           <h1>{{tpl:lang Tag}} - {{tpl:TagID}}</h1> 
     46          <h2>{{tpl:lang Tag}} - {{tpl:TagID}}</h2> 
    4747          <p><a type="application/atom+xml" href="{{tpl:TagFeedURL type="atom"}}" 
    4848               title="{{tpl:lang This tag's entries Atom feed}}" class="feed">{{tpl:lang Entries feed}}</a> 
  • plugins/tags/default-templates/baklava/tags.html

    r2982 r2983  
    2525<tpl:Block name="main-content"> 
    2626  <header id="content-info"> 
    27      <h1>{{tpl:lang Tags}}</h1> 
     27     <h2>{{tpl:lang Tags}}</h2> 
    2828  </header> 
    2929 
Note: See TracChangeset for help on using the changeset viewer.

Sites map