[Fusionforge-commits] FusionForge branch master updated. v6.0.5-1764-gb46f356

Marc-Etienne VARGENAU vargenau at libremir.placard.fr.eu.org
Fri May 5 15:15:10 CEST 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  b46f356cbabddd562816a1af5bf4789fd3fdb31f (commit)
      from  761ce01bcf5d202e1a7fed7166d1d5c2dff03b4e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=b46f356cbabddd562816a1af5bf4789fd3fdb31f

commit b46f356cbabddd562816a1af5bf4789fd3fdb31f
Author: Marc-Etienne Vargenau <marc-etienne.vargenau at nokia.com>
Date:   Fri May 5 15:15:03 2017 +0200

    Add ARIA roles in Funky theme

diff --git a/src/www/themes/funky/Theme.class.php b/src/www/themes/funky/Theme.class.php
index 98078a9..f4bac11 100644
--- a/src/www/themes/funky/Theme.class.php
+++ b/src/www/themes/funky/Theme.class.php
@@ -108,7 +108,7 @@ class Theme_Funky extends Layout {
 			$params['title'] = $params['title'] . " - ".forge_get_config('forge_name');
 		}
 
-		echo html_ao('header');
+		echo html_ao('header', array('role' => 'banner'));
 		echo $this->listTableTop(array(), array(), 'fullwidth', 'header');
 		$cells = array();
 		$cells[] = array(util_make_link('/', html_image('/header/top-logo.png', null, null, array('alt'=>'FusionForge Home'))), 'id' => 'header-col1');
@@ -136,7 +136,7 @@ class Theme_Funky extends Layout {
 		echo html_ac(html_ap() -1); // </nav>
 		echo html_ac(html_ap() -1); // </header>
 
-		echo html_ao('main', array('id' => 'maindiv'));
+		echo html_ao('main', array('id' => 'maindiv', 'role' => 'main'));
 		plugin_hook('message');
 
 		if (isset($GLOBALS['error_msg']) && $GLOBALS['error_msg']) {
@@ -165,7 +165,7 @@ class Theme_Funky extends Layout {
 
 	function footer($params = array()) {
 		$this->bodyFooter($params);
-		echo html_ao('footer');
+		echo html_ao('footer', array('role' => 'contentinfo'));
 		echo $this->navigation->getPoweredBy();
 		echo $this->navigation->getShowSource();
 		echo html_e('div', array('style' => 'clear:both'), '', false);

-----------------------------------------------------------------------

Summary of changes:
 src/www/themes/funky/Theme.class.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list