Making WordPress.org

Opened 2 years ago

Last modified 2 years ago

#6610 new enhancement

Add smooth scroll to the page for jumping another section

Reported by: saifullahsiddique's profile saifullahsiddique Owned by:
Milestone: Priority: normal
Component: WordPress.org Site Keywords: needs-design-feedback
Cc:

Description

Currently the wordpress.org and it's associated websites has no smooth scroll effect for jumping another section from the navigation panel. I think this could be great enhancement if the smooth scroll feature was done.

Change History (4)

#1 follow-up: @joyously
2 years ago

I, and a lot of people, don't like smooth scroll. It is an unnecessary extra script. I wonder about the accessibility of it.

#2 in reply to: ↑ 1 @saifullahsiddique
2 years ago

Replying to joyously:

I, and a lot of people, don't like smooth scroll. It is an unnecessary extra script. I wonder about the accessibility of it.

No need to add script for smooth scroll. A single line of css html { scroll-behavior: smooth;} is enough for that.

#3 @dd32
2 years ago

  • Keywords needs-design-feedback added

#4 @javiarce
2 years ago

In terms of accessibility, we would need to disable the feature for people who has prefers-reduced-motion enabled, but in general, I don't think this will have an especially positive impact on users' experience.

The navigation between sections will be smoother, yes, but with the cost of adding some milliseconds of waiting for every click. If you are navigating documentation, for example, it can get annoying pretty quickly.

Note: See TracTickets for help on using tickets.