Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Don't make the header sticky by default  #524

Closed

Description

Description

it's a known fact that fixed / sticky headers or top bars may introduce usability and accessibility issues. While testing the footnotes block in the context of WordPress/gutenberg#54843 I noticed that the sticky header in the theme makes the user experience less than ideal.

Specifically, following a footnote link and clicking the 'jump back' link in the footnote does make the page scroll as expected but the page frgment that should scroll into view is always hidden behind the fixed header.

This is a very confusing experience for all users (it happens also when clicknw with mouse) and even more confusing for keyboard users.

Since the sticky header height can't be predicted, as it actually depends on the amount of links in the navigation, the only option I can think of is to change the default setting. The header should not be sticky by default. That would provide users with a default user experience that is less than ideal.

Step-by-step reproduction instructions

Expected behavior

Focused links and controls to be visible.

Screenshots

Animated GIF to illustrate the footnotes behavior:

tt4 sticky header

Environment info

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions