Dotclear


Ignore:
Timestamp:
11/15/14 15:34:24 (11 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

ARIA role="alert" in da place \o/

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/admin/lib.dc.page.php

    r2784 r2787  
    164164          { 
    165165               echo 
    166                '<div class="warning"><h3>'.__('Safe mode').'</h3>'. 
     166               '<div class="warning" role="alert"><h3>'.__('Safe mode').'</h3>'. 
    167167               '<p>'.__('You are in safe mode. All plugins have been temporarily disabled. Remind to log out then log in again normally to get back all functionalities').'</p>'. 
    168168               '</div>'; 
     
    242242               $ts = dt::str(__('[%H:%M:%S]'),$n['ts'],$core->auth->getInfo('user_tz')).' '; 
    243243          } 
    244           $res = '<'.$tag.' class="'.$n['class'].'">'.$ts.$n['text'].'</'.$tag.'>'; 
     244          $res = '<'.$tag.' class="'.$n['class'].'" role="alert">'.$ts.$n['text'].'</'.$tag.'>'; 
    245245          return $res; 
    246246     } 
     
    350350          if ($core->error->flag()) { 
    351351               echo 
    352                '<div class="error"><strong>'.__('Errors:').'</strong>'. 
     352               '<div class="error" role="alert"><strong>'.__('Errors:').'</strong>'. 
    353353               $core->error->toHTML(). 
    354354               '</div>'; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map