Dotclear


Ignore:
Timestamp:
12/21/14 08:54:14 (11 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
2.7
Message:

role="navigation" cannot be put on <ul> tag, so we should enclosed <ul>…</ul> with <nav role="navigation">, thanks pierrevg for reporting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/widgets/_widgets_functions.php

    r2778 r2866  
    5353          $res = 
    5454          ($w->title ? $w->renderTitle(html::escapeHTML($w->title)) : ''). 
    55           '<ul role="navigation">'; 
     55          '<nav role="navigation"><ul>'; 
    5656 
    5757          if ($core->url->type != 'default') { 
     
    6666          '<a href="'.$core->blog->url.$core->url->getURLFor("archive").'">'. 
    6767          __('Archives').'</a></li>'. 
    68           '</ul>'; 
     68          '</ul></nav>'; 
    6969 
    7070          return $w->renderDiv($w->content_only,$w->class,'id="topnav"',$res); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map