File tree Expand file tree Collapse file tree 5 files changed +10
-10
lines changed
Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ function header()
6666 n.'<ul> ' ;
6767
6868 foreach ($ tab ['items ' ] as $ item ) {
69- $ tc = ($ item ['active ' ]) ? ' class="active" ' : '' ;
69+ $ tc = ($ item ['active ' ]) ? ' class="active" aria-current="page" ' : '' ;
7070 $ secondary .= n.'<li ' .$ tc .'> ' .
7171 href ($ item ['label ' ], array ('event ' => $ item ['event ' ])).
7272 '</li> ' ;
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ <h1 class="txp-heading">Languages <a class="pophelp" rel="help" target="_bl
115115 < li class ="txp-grid-cell txp-grid-cell-2span success ">
116116 < form >
117117 < p >
118- < span class ="ui-icon ui-icon-check "> </ span > < strong > English</ strong > < br >
118+ < span class ="ui-icon ui-icon-check " role =" status " > Installed </ span > < strong > English</ strong > < br >
119119 < code > en</ code >
120120 </ p >
121121 < p >
@@ -126,19 +126,19 @@ <h1 class="txp-heading">Languages <a class="pophelp" rel="help" target="_bl
126126 < li class ="txp-grid-cell txp-grid-cell-2span success ">
127127 < form >
128128 < p >
129- < span class ="ui-icon ui-icon-check "> </ span > < strong > English (British)</ strong > < br >
129+ < span class ="ui-icon ui-icon-check " role =" status " > Installed </ span > < strong > English (British)</ strong > < br >
130130 < code > en-gb</ code >
131131 </ p >
132132 < p >
133133 < button type ="submit " name ="lang_update " disabled > < span class ="ui-icon ui-icon-refresh "> </ span > Update</ button >
134- < button type ="submit " name ="lang_remove "> < span class ="ui-icon ui-icon-minus "> </ span > Remove</ button >
134+ < button type ="submit " name ="lang_remove " > < span class ="ui-icon ui-icon-minus "> </ span > Remove</ button >
135135 </ p >
136136 </ form >
137137 </ li >
138138 < li class ="txp-grid-cell txp-grid-cell-2span warning ">
139139 < form >
140140 < p >
141- < span class ="ui-icon ui-icon-alert "> </ span > < strong > Français</ strong > < br >
141+ < span class ="ui-icon ui-icon-alert " role =" status " > Installed < span role =" separator " > / </ span > Update available </ span > < strong > Français</ strong > < br >
142142 < code > fr</ code >
143143 </ p >
144144 < p >
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ <h2 class="txp-accessibility">My site</h2>
6767 < div class ="nav-tabs " id ="nav-secondary ">
6868 < ul >
6969 < li > < a href ="content-article-rtl.html "> Write</ a > </ li >
70- < li class ="active "> < a href ="content-list-rtl.html "> Articles</ a > </ li >
70+ < li class ="active "> < a href ="content-list-rtl.html " aria-current =" page " > Articles</ a > </ li >
7171 < li > < a href ="content-image.html "> Images</ a > </ li >
7272 < li > < a href ="content-file.html "> Files</ a > </ li >
7373 < li > < a href ="content-link.html "> Links</ a > </ li >
@@ -527,7 +527,7 @@ <h1 class="txp-heading">Articles</h1>
527527 < a class ="navlink-active " title ="View 12 per page " aria-pressed ="true " role ="button " href ="# "> 12</ a > < a class ="navlink " title ="View 24 per page " aria-pressed ="false " role ="button " href ="# "> 24</ a > < a class ="navlink " title ="View 48 per page " aria-pressed ="false " role ="button " href ="# "> 48</ a > < a class ="navlink " title ="View 96 per page " aria-pressed ="false " role ="button " href ="# "> 96</ a >
528528 </ div >
529529
530- < nav class ="prev-next ">
530+ < nav class ="prev-next " aria-label =" Page navigation " >
531531 < span class ="disabled " aria-disabled ="true " aria-label ="Previous "> < span class ="ui-icon ui-icon-arrowthick-1-w "> Previous</ span > </ span >
532532 < form method ="get " action ="index.php ">
533533 < label for ="current-page "> Page</ label >
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ <h2 class="txp-accessibility">My site</h2>
6767 < div class ="nav-tabs " id ="nav-secondary ">
6868 < ul >
6969 < li > < a href ="content-article.html "> Write</ a > </ li >
70- < li class ="active "> < a href ="content-list.html "> Articles</ a > </ li >
70+ < li class ="active "> < a href ="content-list.html " aria-current =" page " > Articles</ a > </ li >
7171 < li > < a href ="content-image.html "> Images</ a > </ li >
7272 < li > < a href ="content-file.html "> Files</ a > </ li >
7373 < li > < a href ="content-link.html "> Links</ a > </ li >
@@ -526,7 +526,7 @@ <h1 class="txp-heading">Articles</h1>
526526 < a class ="navlink-active " title ="View 12 per page " aria-pressed ="true " role ="button " href ="# "> 12</ a > < a class ="navlink " title ="View 24 per page " aria-pressed ="false " role ="button " href ="# "> 24</ a > < a class ="navlink " title ="View 48 per page " aria-pressed ="false " role ="button " href ="# "> 48</ a > < a class ="navlink " title ="View 96 per page " aria-pressed ="false " role ="button " href ="# "> 96</ a >
527527 </ div >
528528
529- < nav class ="prev-next ">
529+ < nav class ="prev-next " aria-label =" Page navigation " >
530530 < span class ="disabled " aria-disabled ="true " aria-label ="Previous "> < span class ="ui-icon ui-icon-arrowthick-1-w "> Previous</ span > </ span >
531531 < form method ="get " action ="index.php ">
532532 < label for ="current-page "> Page</ label >
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ function header()
6666 n.'<ul> ' ;
6767
6868 foreach ($ tab ['items ' ] as $ item ) {
69- $ tc = ($ item ['active ' ]) ? ' class="active" ' : '' ;
69+ $ tc = ($ item ['active ' ]) ? ' class="active" aria-current="page" ' : '' ;
7070 $ secondary .= n.'<li ' .$ tc .'> ' .
7171 href ($ item ['label ' ], array ('event ' => $ item ['event ' ])).
7272 '</li> ' ;
You can’t perform that action at this time.
0 commit comments