Accessibility: better skip link

Created on 6 February 2025, about 2 months ago

Problem/Motivation

in https://git.drupalcode.org/project/ui_suite_dsfr/-/blob/1.1.x/templates/...

  <main role="main" class="{{ container }} fr-mb-4w fr-mt-4w">
    <a id="main-content" tabindex="-1"></a>{# link is in html.html.twig #}

it was directly "inspired" from what Drupal core is doing in its system module.

Proposed resolution

Let's do that instead:

  <main role="main" class="{{ container }} fr-mb-4w fr-mt-4w" id="main-content">

in both 1.0.x and 1.1.x

API changes

no

πŸ“Œ Task
Status

Active

Version

1.1

Component

Code

Created by

πŸ‡«πŸ‡·France pdureau Paris

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024