diff --git a/core/includes/form.inc b/core/includes/form.inc
index c94bc62..fa5d8d8 100644
--- a/core/includes/form.inc
+++ b/core/includes/form.inc
@@ -3786,7 +3786,7 @@ function theme_vertical_tabs($variables) {
// Add required JavaScript and Stylesheet.
drupal_add_library('system', 'drupal.vertical-tabs');
- $output = '
' . $element['#children'] . '
';
return $output;
}
@@ -4479,7 +4479,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'] = 'visuallyhidden';
}
if (!empty($element['#id'])) {
diff --git a/core/includes/menu.inc b/core/includes/menu.inc
index 581a6ce..ee0344b 100644
--- a/core/includes/menu.inc
+++ b/core/includes/menu.inc
@@ -1646,7 +1646,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..e86f46b 100644
--- a/core/modules/overlay/overlay.tpl.php
+++ b/core/modules/overlay/overlay.tpl.php
@@ -27,9 +27,9 @@
>
diff --git a/core/modules/system/html.tpl.php b/core/modules/system/html.tpl.php
index 960eefb..f514498 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/lib/Drupal/system/Tests/Form/ElementsLabelsTest.php b/core/modules/system/lib/Drupal/system/Tests/Form/ElementsLabelsTest.php
index 982f182..5451e0c 100644
--- a/core/modules/system/lib/Drupal/system/Tests/Form/ElementsLabelsTest.php
+++ b/core/modules/system/lib/Drupal/system/Tests/Form/ElementsLabelsTest.php
@@ -62,8 +62,8 @@ class ElementsLabelsTest extends WebTestBase {
$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="visuallyhidden"]');
+ $this->assertTrue(isset($elements[0]), t("Label preceding field and label class is visuallyhidden."));
$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/system.admin.inc b/core/modules/system/system.admin.inc
index 819df67..8d441b3 100644
--- a/core/modules/system/system.admin.inc
+++ b/core/modules/system/system.admin.inc
@@ -2525,7 +2525,7 @@ function theme_status_report($variables) {
$severity = $severities[REQUIREMENT_INFO];
}
- $severity['icon'] = '
' . $severity['title'] . '
';
+ $severity['icon'] = '
' . $severity['title'] . '
';
// Output table rows.
$output .= '
';
diff --git a/core/modules/system/system.base.css b/core/modules/system/system.base.css
index 68a1683..8316965 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 {
+.visuallyhidden {
position: absolute !important;
clip: rect(1px, 1px, 1px, 1px);
}
/**
- * The .element-focusable class extends the .element-invisible class to allow
+ * The .focusable class extends the .visuallyhidden class to allow
* the element to be focusable when navigated to via the keyboard.
*/
-.element-invisible.element-focusable:active,
-.element-invisible.element-focusable:focus {
+.visuallyhidden.focusable:active,
+.visuallyhidden.focusable:focus {
position: static !important;
clip: auto;
}
diff --git a/core/modules/toolbar/toolbar.module b/core/modules/toolbar/toolbar.module
index 904a2f8..ef56bf0 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' => 'visuallyhidden'),
);
// 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 7db1a31..44fd91d 100644
--- a/core/themes/bartik/template.php
+++ b/core/themes/bartik/template.php
@@ -114,7 +114,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'][] = 'visuallyhidden';
}
}
diff --git a/core/themes/bartik/templates/maintenance-page.tpl.php b/core/themes/bartik/templates/maintenance-page.tpl.php
index 9cdeff7..3fdd23f 100644
--- a/core/themes/bartik/templates/maintenance-page.tpl.php
+++ b/core/themes/bartik/templates/maintenance-page.tpl.php
@@ -25,23 +25,23 @@
>