diff --git a/core/includes/form.inc b/core/includes/form.inc
index c1d48e3..50c816e 100644
--- a/core/includes/form.inc
+++ b/core/includes/form.inc
@@ -3684,7 +3684,7 @@ function theme_vertical_tabs($variables) {
// Add required JavaScript and Stylesheet.
drupal_add_library('system', 'drupal.vertical-tabs');
- $output = '
' . $element['#children'] . '
';
return $output;
}
@@ -4243,7 +4243,7 @@ function theme_form_element_label($variables) {
}
// Show label only to screen readers to avoid disruption in visual flows.
elseif ($element['#title_display'] == 'invisible') {
- $attributes['class'] = 'element-invisible';
+ $attributes['class'] = 'invisible';
}
if (!empty($element['#id'])) {
diff --git a/core/includes/menu.inc b/core/includes/menu.inc
index 2121619..63b901d 100644
--- a/core/includes/menu.inc
+++ b/core/includes/menu.inc
@@ -1635,7 +1635,7 @@ function theme_menu_local_task($variables) {
if (!empty($variables['element']['#active'])) {
// Add text to indicate active tab for non-visual users.
- $active = '' . $output . '
';
diff --git a/core/modules/overlay/overlay.tpl.php b/core/modules/overlay/overlay.tpl.php
index 54b10af..0dd2719 100644
--- a/core/modules/overlay/overlay.tpl.php
+++ b/core/modules/overlay/overlay.tpl.php
@@ -27,9 +27,9 @@
>
diff --git a/core/modules/simpletest/tests/form.test b/core/modules/simpletest/tests/form.test
index 3946374..ff6a882 100644
--- a/core/modules/simpletest/tests/form.test
+++ b/core/modules/simpletest/tests/form.test
@@ -715,8 +715,8 @@ class FormsElementsLabelsTestCase extends DrupalWebTestCase {
$elements = $this->xpath('//input[@id="edit-form-textfield-test-no-title-required"]/preceding-sibling::label[@for="edit-form-textfield-test-no-title-required"]/abbr[@class="form-required"]');
$this->assertTrue(isset($elements[0]), t("Label tag with required marker precedes required textfield with no title."));
- $elements = $this->xpath('//input[@id="edit-form-textfield-test-title-invisible"]/preceding-sibling::label[@for="edit-form-textfield-test-title-invisible" and @class="element-invisible"]');
- $this->assertTrue(isset($elements[0]), t("Label preceding field and label class is element-invisible."));
+ $elements = $this->xpath('//input[@id="edit-form-textfield-test-title-invisible"]/preceding-sibling::label[@for="edit-form-textfield-test-title-invisible" and @class="invisible"]');
+ $this->assertTrue(isset($elements[0]), t("Label preceding field and label class is invisible."));
$elements = $this->xpath('//input[@id="edit-form-textfield-test-title"]/preceding-sibling::abbr[@class="form-required"]');
$this->assertFalse(isset($elements[0]), t("No required marker on non-required field."));
diff --git a/core/modules/system/html.tpl.php b/core/modules/system/html.tpl.php
index 960eefb..18ff966 100644
--- a/core/modules/system/html.tpl.php
+++ b/core/modules/system/html.tpl.php
@@ -49,7 +49,7 @@
>
diff --git a/core/modules/system/system.admin.inc b/core/modules/system/system.admin.inc
index 978b0f4..5ffed47 100644
--- a/core/modules/system/system.admin.inc
+++ b/core/modules/system/system.admin.inc
@@ -1501,7 +1501,7 @@ function system_site_information_settings() {
'#default_value' => variable_get('default_nodes_main', 10),
'#options' => drupal_map_assoc(array(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30)),
'#description' => t('The maximum number of posts displayed on overview pages such as the front page.'),
- '#access' => (variable_get('site_frontpage') == 'node'),
+ '#access' => (variable_get('site_frontpage')=='node'),
);
$form['error_page'] = array(
'#type' => 'fieldset',
@@ -2568,7 +2568,7 @@ function theme_status_report($variables) {
foreach ($requirements as $requirement) {
if (empty($requirement['#type'])) {
$severity = $severities[isset($requirement['severity']) ? (int) $requirement['severity'] : 0];
- $severity['icon'] = '
' . $severity['title'] . '
';
+ $severity['icon'] = '
' . $severity['title'] . '
';
// Output table row(s)
if (!empty($requirement['description'])) {
diff --git a/core/modules/system/system.base.css b/core/modules/system/system.base.css
index 68a1683..81f409a 100644
--- a/core/modules/system/system.base.css
+++ b/core/modules/system/system.base.css
@@ -220,7 +220,7 @@ tr .ajax-progress-throbber .throbber {
* from a user. The effect of this class can be toggled with the jQuery show()
* and hide() functions.
*/
-.element-hidden {
+.hidden {
display: none;
}
@@ -232,17 +232,17 @@ tr .ajax-progress-throbber .throbber {
* manner should be kept concise, to avoid unnecessary burden on the user.
* "!important" is used to prevent unintentional overrides.
*/
-.element-invisible {
+.invisible {
position: absolute !important;
clip: rect(1px, 1px, 1px, 1px);
}
/**
- * The .element-focusable class extends the .element-invisible class to allow
- * the element to be focusable when navigated to via the keyboard.
+ * The .focusable class extends the .invisible class to allow the element to be
+ * focusable when navigated to via the keyboard.
*/
-.element-invisible.element-focusable:active,
-.element-invisible.element-focusable:focus {
+.invisible.focusable:active,
+.invisible.focusable:focus {
position: static !important;
clip: auto;
}
diff --git a/core/modules/toolbar/toolbar.module b/core/modules/toolbar/toolbar.module
index e2bff73..a6595cb 100644
--- a/core/modules/toolbar/toolbar.module
+++ b/core/modules/toolbar/toolbar.module
@@ -212,7 +212,7 @@ function toolbar_view() {
'#theme' => 'links__toolbar_menu',
'#links' => $links,
'#attributes' => array('id' => 'toolbar-menu'),
- '#heading' => array('text' => t('Administrative toolbar'), 'level' => 'h2', 'class' => 'element-invisible'),
+ '#heading' => array('text' => t('Administrative toolbar'), 'level' => 'h2', 'class' => 'invisible'),
);
// Add logout & user account links or login link.
@@ -324,7 +324,7 @@ function toolbar_menu_navigation_links($tree) {
// Add admin link ID.
$link['attributes'] = array('id' => 'toolbar-link-' . $id);
if (!empty($item['link']['description'])) {
- $link['title'] .= '
(' . $item['link']['description'] . ')';
+ $link['title'] .= '
(' . $item['link']['description'] . ')';
$link['attributes']['title'] = $item['link']['description'];
}
$link['html'] = TRUE;
diff --git a/core/themes/bartik/template.php b/core/themes/bartik/template.php
index 459a593..7bf8f89 100644
--- a/core/themes/bartik/template.php
+++ b/core/themes/bartik/template.php
@@ -107,7 +107,7 @@ function bartik_process_maintenance_page(&$variables) {
function bartik_preprocess_block(&$variables) {
// In the header region visually hide block titles.
if ($variables['block']->region == 'header') {
- $variables['title_attributes_array']['class'][] = 'element-invisible';
+ $variables['title_attributes_array']['class'][] = 'invisible';
}
}
diff --git a/core/themes/bartik/templates/maintenance-page.tpl.php b/core/themes/bartik/templates/maintenance-page.tpl.php
index f2b998e..0444832 100644
--- a/core/themes/bartik/templates/maintenance-page.tpl.php
+++ b/core/themes/bartik/templates/maintenance-page.tpl.php
@@ -23,23 +23,23 @@
>