Commit 5cdd677c authored by Son Nguyen's avatar Son Nguyen Committed by Gerrit Code Review
Browse files

Merge "Adding accessibility text to the download link on site stats page"

parents 685adbd5 cf23f21d
......@@ -1051,6 +1051,7 @@ $string['uneditableusers'] = array(
);
$string['exportusersascsv'] = 'Export users in CSV format';
$string['downloadusersascsv'] = 'users in CSV format';
$string['downloaddataascsv'] = '%s statistics in CSV format';
$string['Download'] = 'Download';
$string['suspendusers'] = 'Suspend users';
$string['Suspend'] = 'Suspend';
......
......@@ -22,7 +22,7 @@
{if $subpagedata.table.csv}
<div class="fr">
<span class="bulkaction-title">{str tag=exportstatsascsv section=admin}:</span>
<a href="{$WWWROOT}download.php" target="_blank">{str tag=Download section=admin}</a>
<a href="{$WWWROOT}download.php" target="_blank">{str tag=Download section=admin} <span class="accessible-hidden">{str tag=downloaddataascsv section=admin args=$type}</span></a>
</div>
{/if}
<div id="statistics_table_container" class="statistics-subpage-{if $subpagedata.summary}right{else}full{/if}-column {if $subpagedata.table.count == 0} hidden{/if}">
......
......@@ -21,7 +21,7 @@
{if $subpagedata.table.csv}
<div class="fr">
<span class="bulkaction-title">{str tag=exportstatsascsv section=admin}:</span>
<a href="{$WWWROOT}download.php" target="_blank">{str tag=Download section=admin}</a>
<a href="{$WWWROOT}download.php" target="_blank">{str tag=Download section=admin} <span class="accessible-hidden"> {str tag=downloaddataascsv section=admin args=$type}</span></a>
</div>
{/if}
<div id="statistics_table_container" class="statistics-subpage-{if $subpagedata.summary}right{else}full{/if}-column {if $subpagedata.table.count == 0} hidden{/if}">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment