Assume the default Drupal skip link with the markup:

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

The banner should appear after the skip link, so that it remains the first thing that gets focus when a user tabs through the page.

Comments

Sophie.SK created an issue. See original summary.

sophie.sk’s picture

Version: » 8.x-1.x-dev
sophie.sk’s picture

Status: Active » Needs review
StatusFileSize
new929 bytes

Here's a simple patch that may end up changing after the patch in #3082390: Use classes instead of colours goes in.

sophie.sk’s picture

StatusFileSize
new665 bytes

Adding updated patch.

  • Sophie.SK committed 4ed24d2 on 8.x-1.x
    Issue #3082321 by Sophie.SK: Ensure the banner appears after the skip...
sophie.sk’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.