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/text/text.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/text/text.module')
-rw-r--r-- | core/modules/text/text.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/modules/text/text.module b/core/modules/text/text.module index 1d980d7e25e..5a6b85235d5 100644 --- a/core/modules/text/text.module +++ b/core/modules/text/text.module @@ -18,9 +18,9 @@ function text_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'help.page.text': $output = ''; - $output .= '<h3>' . t('About') . '</h3>'; + $output .= '<h2>' . t('About') . '</h2>'; $output .= '<p>' . t('The Text module allows you to create short and long text fields with optional summaries. See the <a href=":field">Field module help</a> and the <a href=":field_ui">Field UI help</a> pages for general information on fields and how to create and manage them. For more information, see the <a href=":text_documentation">online documentation for the Text module</a>.', [':field' => Url::fromRoute('help.page', ['name' => 'field'])->toString(), ':field_ui' => (\Drupal::moduleHandler()->moduleExists('field_ui')) ? Url::fromRoute('help.page', ['name' => 'field_ui'])->toString() : '#', ':text_documentation' => 'https://www.drupal.org/documentation/modules/text']) . '</p>'; - $output .= '<h3>' . t('Uses') . '</h3>'; + $output .= '<h2>' . t('Uses') . '</h2>'; $output .= '<dl>'; $output .= '<dt>' . t('Managing and displaying text fields') . '</dt>'; $output .= '<dd>' . t('The <em>settings</em> and <em>display</em> of the text field can be configured separately. See the <a href=":field_ui">Field UI help</a> for more information on how to manage fields and their display.', [':field_ui' => (\Drupal::moduleHandler()->moduleExists('field_ui')) ? Url::fromRoute('help.page', ['name' => 'field_ui'])->toString() : '#']) . '</dd>'; |