Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Guindon2020-10-15 12:19:29 +0000
committerChristopher Guindon2020-10-15 12:19:29 +0000
commitbad3dc6c694f1a99e7f9403bd3550a19161fe621 (patch)
treeb5ec3afb752056165e6f0bb38c1e30fe921e5b35
parent02b80ec6459854eed549b3ba3b7643cffcd7b461 (diff)
downloadeclipse.org-common-bad3dc6c694f1a99e7f9403bd3550a19161fe621.tar.gz
eclipse.org-common-bad3dc6c694f1a99e7f9403bd3550a19161fe621.tar.xz
eclipse.org-common-bad3dc6c694f1a99e7f9403bd3550a19161fe621.zip
Bug 567900 - Screen reader link to #content on web page header
Change-Id: Ia070f8eed7a3fd0515381567ba49711d6e78cea3 Signed-off-by: Christopher Guindon <chris.guindon@eclipse-foundation.org>
-rw-r--r--classes/themes/baseTheme.class.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/themes/baseTheme.class.php b/classes/themes/baseTheme.class.php
index b1caa7f0..5cde28db 100644
--- a/classes/themes/baseTheme.class.php
+++ b/classes/themes/baseTheme.class.php
@@ -323,6 +323,7 @@ class BaseTheme {
// Set attributes on main content
$this->setAttributes('main', 'main', 'role');
$this->setAttributes('main', 'no-promo');
+ $this->setAttributes('main', 'content', 'id');
$this->setAttributes('main-container', 'novaContent');
$this->setAttributes('main-container', 'novaContent', 'id');

Back to the top