Coder Social home page Coder Social logo

Comments (3)

programnoir avatar programnoir commented on June 2, 2024

There is no bug. It is the design that is wrong.

Currently the menu works like this:

  1. Upon using the shortcut, the site remembers the last thing you were looking at (using keyboard navigation).
  2. 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.

programnoir avatar programnoir commented on June 2, 2024

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.

programnoir avatar programnoir commented on June 2, 2024

Solved by #9

from studygamedev-website.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.