"Skip to main content" link visible after update to 5.5.8

Created on 18 January 2023, almost 2 years ago

Problem/Motivation

I've updated to the most recent version 5.5.8 and changed the link reading "Skip to main content" in html.html.twig template file. The new version is lacking of classes and seems to have a typo. Due to that it is no longer hidden for me. It was working in the version i had before (5.5.6).

It was introduced in this issue: https://www.drupal.org/project/bootstrap_barrio/issues/3230650 โ†’

You can see the change here: https://git.drupalcode.org/project/bootstrap_barrio/-/commit/3bc07f39af8...

In my Barrio driven template i still rely on /core/modules/system/css/components/hidden.module.css which is hiding this link by default from core. I would assume this to be a standard provided by Drupal core as it does work this way in other themes as well.

There is no CSS provided for this new class by Barrio. There is some CSS for a skip-link class but it was deleted in that commit.

Steps to reproduce

Update to from 5.5.6 to 5.5.8 and have a template relying on /core/modules/system/css/components/hidden.module.css

Proposed resolution

Rollback of <a href="#main-content" class="visually-hidden-focusable"> to <a href="#main-content" class="visually-hidden focusable skip-link">

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ› Bug report
Status

Active

Version

5.5

Component

Code

Created by

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024