diff options
author | Lauri Eskola <lauri.eskola@acquia.com> | 2024-01-15 14:55:37 +0200 |
---|---|---|
committer | Lauri Eskola <lauri.eskola@acquia.com> | 2024-01-15 14:55:37 +0200 |
commit | 1e8ae69e1d8808e50c19ae5120c905dff37b426e (patch) | |
tree | 47d4f872146ee257f692dd62f940a28b2e1cee74 /core/modules/ban/ban.module | |
parent | 4b5138e6c32060f9568e9758769c186cd0771e14 (diff) | |
download | drupal-1e8ae69e1d8808e50c19ae5120c905dff37b426e.tar.gz drupal-1e8ae69e1d8808e50c19ae5120c905dff37b426e.zip |
Issue #3414263 by quietone, andypost: Change help headings for WCAG 2.0
Diffstat (limited to 'core/modules/ban/ban.module')
-rw-r--r-- | core/modules/ban/ban.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/modules/ban/ban.module b/core/modules/ban/ban.module index ca0c419c0c2..a407fe7e2d2 100644 --- a/core/modules/ban/ban.module +++ b/core/modules/ban/ban.module @@ -15,9 +15,9 @@ function ban_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'help.page.ban': $output = ''; - $output .= '<h3>' . t('About') . '</h3>'; + $output .= '<h2>' . t('About') . '</h2>'; $output .= '<p>' . t('The Ban module allows administrators to ban visits to their site from individual IP addresses. For more information, see the <a href=":url">online documentation for the Ban module</a>.', [':url' => 'https://www.drupal.org/documentation/modules/ban']) . '</p>'; - $output .= '<h3>' . t('Uses') . '</h3>'; + $output .= '<h2>' . t('Uses') . '</h2>'; $output .= '<dl>'; $output .= '<dt>' . t('Banning IP addresses') . '</dt>'; $output .= '<dd>' . t('Administrators can enter IP addresses to ban on the <a href=":bans">IP address bans</a> page.', [':bans' => Url::fromRoute('ban.admin_page')->toString()]) . '</dd>'; |