1

Randomly, I encountered a "Skip to main content" link on the Meta Stack Exchange header.
Clicking on it redirects to https://meta.stackexchange.com/#content and hides the Meta site bar.

Skip to main content

#Content

I initially thought it was a UI glitch, but upon inspecting the element, I noticed the "Skip to main content" link in the first header.

Header code

Was a partial code push made as part of an upcoming feature?

4
  • @Carrott good to see work here! While you're working on this, could you also take a look at this related request to turn on keyboard shortcuts if someone is tabbing around?
    – Mithical
    Commented May 30 at 14:44
  • 1
    How do you get this to appear? When I inspect the element, it says it's a 1x1 element.
    – Barmar
    Commented May 30 at 23:47
  • @Barmar After the page loads press tab a few times (it showed up for me after the 2nd press). Commented May 31 at 6:32
  • For what it's worth I noticed this thing a while ago but at the time it was a floating pop-up. It looks like it was changed at some point to be some kind of full-width button. Commented May 31 at 6:33

1 Answer 1

7

The Skip Link works as an anchor link to the content section of the page. Any element relatively positioned above the content section will be pushed up by the native browser behavior, locking into the #content fragment identifier.

To that end, we are marking this one as status by design.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .