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/options | |
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/options')
-rw-r--r-- | core/modules/options/options.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/modules/options/options.module b/core/modules/options/options.module index 30aefdd33ca..b5d51690db3 100644 --- a/core/modules/options/options.module +++ b/core/modules/options/options.module @@ -19,9 +19,9 @@ function options_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'help.page.options': $output = ''; - $output .= '<h3>' . t('About') . '</h3>'; + $output .= '<h2>' . t('About') . '</h2>'; $output .= '<p>' . t('The Options module allows you to create fields where data values are selected from a fixed list of options. Usually these items are entered through a select list, checkboxes, or radio buttons. 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=":options_do">online documentation for the Options 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() : '#', ':options_do' => 'https://www.drupal.org/documentation/modules/options']) . '</p>'; - $output .= '<h3>' . t('Uses') . '</h3>'; + $output .= '<h2>' . t('Uses') . '</h2>'; $output .= '<dl>'; $output .= '<dt>' . t('Managing and displaying list fields') . '</dt>'; $output .= '<dd>' . t('The <em>settings</em> and the <em>display</em> of the list fields 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>'; |