summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnika Henke <anika@selfthinker.org>2013-08-01 17:20:25 +0100
committerAnika Henke <anika@selfthinker.org>2013-08-01 17:20:25 +0100
commit9805efa058358e0fcbd3976fa553901cabe0b2e0 (patch)
treef7feb47a542178267f5161fa76bc0bc791542826
parent763ffe58812aba9b1e6fe2bca4bb74187ab16ea3 (diff)
downloadrpg-9805efa058358e0fcbd3976fa553901cabe0b2e0.tar.gz
rpg-9805efa058358e0fcbd3976fa553901cabe0b2e0.tar.bz2
added aria roles to search and acl manager
-rw-r--r--inc/template.php2
-rw-r--r--lib/plugins/acl/script.js1
-rw-r--r--lib/scripts/tw-sack.js1
3 files changed, 3 insertions, 1 deletions
diff --git a/inc/template.php b/inc/template.php
index a87650b84..0f2144275 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -766,7 +766,7 @@ function tpl_searchform($ajax = true, $autocomplete = true) {
// don't print the search form if search action has been disabled
if(!actionOK('search')) return false;
- print '<form action="'.wl().'" accept-charset="utf-8" class="search" id="dw__search" method="get"><div class="no">';
+ print '<form action="'.wl().'" accept-charset="utf-8" class="search" id="dw__search" method="get" role="search"><div class="no">';
print '<input type="hidden" name="do" value="search" />';
print '<input type="text" ';
if($ACT == 'search') print 'value="'.htmlspecialchars($QUERY).'" ';
diff --git a/lib/plugins/acl/script.js b/lib/plugins/acl/script.js
index c3763dc8d..0abb80d67 100644
--- a/lib/plugins/acl/script.js
+++ b/lib/plugins/acl/script.js
@@ -61,6 +61,7 @@ var dw_acl = {
*/
loadinfo: function () {
jQuery('#acl__info')
+ .attr('role', 'alert')
.html('<img src="'+DOKU_BASE+'lib/images/throbber.gif" alt="..." />')
.load(
DOKU_BASE + 'lib/plugins/acl/ajax.php',
diff --git a/lib/scripts/tw-sack.js b/lib/scripts/tw-sack.js
index cc988f5be..b0e570151 100644
--- a/lib/scripts/tw-sack.js
+++ b/lib/scripts/tw-sack.js
@@ -2,6 +2,7 @@
/* ©2005 Gregory Wild-Smith */
/* www.twilightuniverse.com */
/* Software licenced under a modified X11 licence, see documentation or authors website for more details */
+/* @deprecated */
function sack(file){
this.AjaxFailedAlert = "Your browser does not support the enhanced functionality of this website, and therefore you will have an experience that differs from the intended one.\n";