Comments (3)
There is no bug. It is the design that is wrong.
Currently the menu works like this:
- Upon using the shortcut, the site remembers the last thing you were looking at (using keyboard navigation).
- If you open and close the menu (either via using the close button or tabbing beyond the menu's last navigation), it will focus back on the bookmarked node.
The problem with this design is that the reference back to a bookmark only works if you open the menu at all. If you use the shortcut and then hit tab, it will instead focus on the search bar. I dislike how this works; the same button being used in relatively the same context (navigating between elements) is having different outcomes with the same initial expectation set up. This will not do. A design alteration is necessary.
from studygamedev-website.
Currently proposed design alterations:
- When tabbing away from the toggle menu button when the menu is closed, determine if there is an bookmarked target or not.
If there is a bookmarked target (not null), then focus on that and set to null.This is resolved by the next bullet point by design, since the search bar follows the same system.
- Implement a new set of shortcuts for accessing the search bar, also with bookmarks.
- If there is a bookmarked target (not null), then focus on that and set to null.
from studygamedev-website.
Solved by #9
from studygamedev-website.
Related Issues (11)
- Add image, source, and mirror elements to resource entries.
- Properly link the home page links to their respective topics. HOT 1
- Missing double quotes on code generator output. HOT 1
- Assign multiple sections to a dLinks entry.
- Populate sections modularly and responsively. HOT 4
- Add "breathing space" in the design.
- Remove jQuery dependency from search.js script HOT 1
- handleMenuClick() does not properly set attributes. HOT 2
- Develop a consistent programming style for the project. HOT 12
- Buttons in the main menu do not have the correct IDs. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from studygamedev-website.