Commit efad3940 authored by Cottser's avatar Cottser

Issue #1390580 by mohit_aghera, heliogabal, Chernous_dn, andrewmacpherson,...

Issue #1390580 by mohit_aghera, heliogabal, Chernous_dn, andrewmacpherson, mgifford, droplet, Everett Zufelt: Add comments for skip link and main-content anchor in templates
parent 8db2e4d4
......@@ -34,6 +34,10 @@
<js-placeholder token="{{ placeholder_token }}">
</head>
<body{{ attributes }}>
{#
Keyboard navigation/accessibility link to main content section in
page.html.twig.
#}
<a href="#main-content" class="visually-hidden focusable">
{{ 'Skip to main content'|t }}
</a>
......
......@@ -40,6 +40,10 @@
<js-placeholder token="{{ placeholder_token }}">
</head>
<body{{ attributes.addClass(body_classes) }}>
{#
Keyboard navigation/accessibility link to main content section in
page.html.twig.
#}
<a href="#main-content" class="visually-hidden focusable skip-link">
{{ 'Skip to main content'|t }}
</a>
......
......@@ -32,6 +32,10 @@
<js-placeholder token="{{ placeholder_token|raw }}">
</head>
<body{{ attributes }}>
{#
Keyboard navigation/accessibility link to main content section in
page.html.twig.
#}
<a href="#main-content" class="visually-hidden focusable">
{{ 'Skip to main content'|t }}
</a>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment