Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Back to Top button #135

Open
6 tasks
Mischback opened this issue Apr 3, 2024 · 0 comments
Open
6 tasks

Back to Top button #135

Mischback opened this issue Apr 3, 2024 · 0 comments
Labels
area/theme Affects the visual appearence lang/ts type/feature New feature / feature request
Milestone

Comments

@Mischback
Copy link
Owner

Mischback commented Apr 3, 2024

Articles tend to be quite long, so the primary navigation (in the page's header) is most likely not visible. On the other hand, the user might find that the article is not living up to their expectations, so they want to re-navigate while they are in the middle of the page, so the secondary navigation (in the page's footer) is not (yet) available, either.

Requirements

  • hide button until primary navigation is not visible
  • on mobile devices/single column layout only show the button, when the user swiped up. It is assumed that the button will cover parts of the content, which is not desired. But when the user scrolls up (just a tiny bit), it is assumed that they would like to return to the top, so support them with a button.
  • on desktop devices/two column layout the button may be placed in the area of the aside and can always be visible.
  • icon and text (for accessiblity reasons)
  • styling in the site's style.css
  • required JS is provided as Progressive Enhancement, meaning visitors without activated JS simply get no button, but there is no error either.

Resources

@Mischback Mischback added type/feature New feature / feature request area/theme Affects the visual appearence lang/ts labels Apr 3, 2024
@Mischback Mischback added this to the Walk milestone Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/theme Affects the visual appearence lang/ts type/feature New feature / feature request
Projects
None yet
Development

No branches or pull requests

1 participant