summaryrefslogtreecommitdiffstatshomepage
path: root/core/modules/path/path.module
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/path/path.module
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/path/path.module')
-rw-r--r--core/modules/path/path.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/modules/path/path.module b/core/modules/path/path.module
index 6a3643e9239d..c307f7e6403c 100644
--- a/core/modules/path/path.module
+++ b/core/modules/path/path.module
@@ -24,9 +24,9 @@ function path_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
case 'help.page.path':
$output = '';
- $output .= '<h3>' . t('About') . '</h3>';
+ $output .= '<h2>' . t('About') . '</h2>';
$output .= '<p>' . t('The Path module allows you to specify an alias, or custom URL, for any existing internal system path. Aliases should not be confused with URL redirects, which allow you to forward a changed or inactive URL to a new URL. In addition to making URLs more readable, aliases also help search engines index content more effectively. Multiple aliases may be used for a single internal system path. To automate the aliasing of paths, you can install the contributed module <a href=":pathauto">Pathauto</a>. For more information, see the <a href=":path">online documentation for the Path module</a>.', [':path' => 'https://www.drupal.org/documentation/modules/path', ':pathauto' => 'https://www.drupal.org/project/pathauto']) . '</p>';
- $output .= '<h3>' . t('Uses') . '</h3>';
+ $output .= '<h2>' . t('Uses') . '</h2>';
$output .= '<dl>';
$output .= '<dt>' . t('Creating aliases') . '</dt>';
$output .= '<dd>' . t('If you create or edit a taxonomy term you can add an alias (for example <em>music/jazz</em>) in the field "URL alias". When creating or editing content you can add an alias (for example <em>about-us/team</em>) under the section "URL path settings" in the field "URL alias". Aliases for any other path can be added through the page <a href=":aliases">URL aliases</a>. To add aliases a user needs the permission <a href=":permissions">Create and edit URL aliases</a>.', [':aliases' => Url::fromRoute('entity.path_alias.collection')->toString(), ':permissions' => Url::fromRoute('user.admin_permissions.module', ['modules' => 'path'])->toString()]) . '</dd>';