summaryrefslogtreecommitdiffstatshomepage
path: root/core/modules/breakpoint
diff options
context:
space:
mode:
authorLauri Eskola <lauri.eskola@acquia.com>2024-01-15 14:55:37 +0200
committerLauri Eskola <lauri.eskola@acquia.com>2024-01-15 14:55:37 +0200
commit1e8ae69e1d8808e50c19ae5120c905dff37b426e (patch)
tree47d4f872146ee257f692dd62f940a28b2e1cee74 /core/modules/breakpoint
parent4b5138e6c32060f9568e9758769c186cd0771e14 (diff)
downloaddrupal-1e8ae69e1d8808e50c19ae5120c905dff37b426e.tar.gz
drupal-1e8ae69e1d8808e50c19ae5120c905dff37b426e.zip
Issue #3414263 by quietone, andypost: Change help headings for WCAG 2.0
Diffstat (limited to 'core/modules/breakpoint')
-rw-r--r--core/modules/breakpoint/breakpoint.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/modules/breakpoint/breakpoint.module b/core/modules/breakpoint/breakpoint.module
index 77b837ed9d8..746b32b8591 100644
--- a/core/modules/breakpoint/breakpoint.module
+++ b/core/modules/breakpoint/breakpoint.module
@@ -14,7 +14,7 @@ function breakpoint_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
case 'help.page.breakpoint':
$output = '';
- $output .= '<h3>' . t('About') . '</h3>';
+ $output .= '<h2>' . t('About') . '</h2>';
$output .= '<p>' . t('The Breakpoint module keeps track of the height, width, and resolution breakpoints where a responsive design needs to change in order to respond to different devices being used to view the site. This module does not have a user interface. For more information, see the <a href=":docs">online documentation for the Breakpoint module</a>.', [':docs' => 'https://www.drupal.org/documentation/modules/breakpoint']) . '</p>';
$output .= '<h4>' . t('Terminology') . '</h4>';
$output .= '<dl>';
@@ -27,7 +27,7 @@ function breakpoint_help($route_name, RouteMatchInterface $route_match) {
$output .= '<dt>' . t('Breakpoint group') . '</dt>';
$output .= '<dd>' . t('Breakpoints can be organized into groups. Modules and themes should use groups to separate out breakpoints that are meant to be used for different purposes, such as breakpoints for layouts or breakpoints for image sizing.') . '</dd>';
$output .= '</dl>';
- $output .= '<h3>' . t('Uses') . '</h3>';
+ $output .= '<h2>' . t('Uses') . '</h2>';
$output .= '<dl>';
$output .= '<dt>' . t('Defining breakpoints and breakpoint groups') . '</dt>';
$output .= '<dd>' . t('Modules and themes can use the API provided by the Breakpoint module to define breakpoints and breakpoint groups, and to assign resolution multipliers to breakpoints.') . '</dd>';