Giter Site home page Giter Site logo

Comments (5)

weboverhauls avatar weboverhauls commented on June 10, 2024

I feel this is a question more for the community than a particular library or plugin. My answer is no. Separating mouse and keyboard interaction: 1. adds unnecessary code 2. adds a layer of complexity to the interaction model (which usually isn't addressed adequately as it is now) 3. treating keyboard users differently is demeaning and a bad practice--as is treating any other type of user differently; for example, text-only pages for screen readers is a no-no. 4. Isn't recommended by WCAG as far as I know.

from bootstrap-accessibility-plugin.

gdkraus avatar gdkraus commented on June 10, 2024

For some reason the link above is no longer referencing the issue I was asking about. In the current commit it's at https://github.com/paypal/bootstrap-accessibility-plugin/blob/master/plugins/js/bootstrap-accessibility.js#L119-L123

The reason I ask is not to diminish keyboard support but to deal with a general usability issue I noticed. When I click on one of the drop down menus, my keyboard focus is automatically shifted to the first item in the menu, and the menu item gets highlighted. Now when I mouse down through the menu past the first item I have two highlighted menu items - the first item in the window because it has the focus, and also the item I am hovering over. This just seems visually a little odd. Is it possible to only explicitly set the focus to the first menu item when someone opens the menu with the keyboard?

from bootstrap-accessibility-plugin.

mpnkhan avatar mpnkhan commented on June 10, 2024

Test url http://mpnkhan.github.io/bootstrap-accessibility-plugin/demo.html#dropdowns

from bootstrap-accessibility-plugin.

vick08 avatar vick08 commented on June 10, 2024

For some reason the menu items are spoken twice with VoiceOver on Safari.

On Oct 24, 2014, at 9:03 PM, Nawaz [email protected] wrote:

Test url http://mpnkhan.github.io/bootstrap-accessibility-plugin/demo.html#dropdowns http://mpnkhan.github.io/bootstrap-accessibility-plugin/demo.html#dropdowns

Reply to this email directly or view it on GitHub #40 (comment).

from bootstrap-accessibility-plugin.

mpnkhan avatar mpnkhan commented on June 10, 2024

Fixed with 80fd9db

from bootstrap-accessibility-plugin.

Related Issues (20)

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.