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

Proposal: keep the previous page as a "menu" #8119

Open
markmiro opened this issue Jul 21, 2022 · 0 comments
Open

Proposal: keep the previous page as a "menu" #8119

markmiro opened this issue Jul 21, 2022 · 0 comments

Comments

@markmiro
Copy link

I wanted to use an iframe, but GitHub doesn't allow it. They're smart because I could be running a clickjacking operation and of course GitHub is protecting themselves here. However, this situation is a bit of a tragedy because the the early HTML spec clearly anticipated that people would like to embed pages within pages.

Screen Shot 2022-07-20 at 8 42 52 PM

For example, Google could benefit by making it easier to click through search results:

Screen Shot 2022-07-20 at 8 49 09 PM

I'm proposing to have a way for a website to preserve existing context as users clicks around. There's an accessibility concern here too. Have you ever walked into a room and forgotten why you went there? Retaining a menu from the previous page could help you remember that your main goal isn't to be on the new page, but to remember that this page is merely one of several pages you might want to check.

This pattern is common in UIs:

ios15-ipad-pro-settings-home-screen-dock

On mobile, iOS doesn't show the left sidebar since there's no room for it.

Many people have their content spread all over the internet. People have GitHub accounts, Twitter, and posts on blogging services. With this being the case, it's hard for us to own a corner of the web. Many people are happy enough to use sites like Linktree.

Screen Shot 2022-07-20 at 9 02 29 PM

I suspect their popularity grew because these kinds of pages feel a lot less silly than they do on the desktop:

Screen Shot 2022-07-20 at 9 06 24 PM

Now imagine if pages like this could serve as menus into other pages. If there's no room to show the menu (like on mobile), then the browser should navigate to the new page as it does today.

Many pages have a lot of unused horizontal space on the desktop, and many pages are also responsive. These qualities of the modern web can make it possible for many websites to function as menus into other pages without many changes.

Frame 2978

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

No branches or pull requests

1 participant