Coder Social home page Coder Social logo

fluffyporkbuns / bootstrap Goto Github PK

View Code? Open in Web Editor NEW

This project forked from twbs/bootstrap

0.0 0.0 0.0 181.79 MB

The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web.

Home Page: https://getbootstrap.com

License: MIT License

JavaScript 40.80% HTML 32.99% CSS 11.98% PowerShell 0.05% SCSS 14.19%

bootstrap's Introduction

Accessible Bootstrap 5 Menubar

A modified version of the Bootstrap 5 dropdown JavaScript and CSS that allows for the creation of an accessible menubar with nested dropdown menus. Entire menubar is keyboard accessible according to W3's navigation menubar example: https://www.w3.org/TR/wai-aria-practices/examples/menubar/menubar-1/menubar-1.html

Features and Bugfixes

  • Top-level dropdowns can be navigated through with the left and right arrows or tab keys.
  • Top-level dropdowns are opened with spacebar, down arrow, or enter key. First item in dropdown is selected automatically.
  • Dropdowns can be navigated with up and down arrows or tab key and selection wraps from beginning to end / end to beginning.
  • Sub-dropdowns can be opened with right arrow, spacebar, or enter key. First item in sub-dropdown is selected automatically.
  • Dropdowns and sub-dropdowns can be closed with the left arrow or escape key. Only the currently open dropdown or sub-dropdown will close (will not bubble up to all parents and * close everything). The item that opened that dropdown is selected automatically.
  • Dropdown and sub-dropdown links can be opened with spacebar or enter key and closes entire menubar.
  • Only one dropdown can be open at a time in a menubar.
  • Fixed a bug where the spacebar didn't open dropdown items (dropdown.js line 39).

bootstrap's People

Contributors

mdo avatar cvrebert avatar xhmikosr avatar fat avatar johann-s avatar patrickhlauke avatar martijncuppens avatar dependabot[bot] avatar hnrch02 avatar dependabot-preview[bot] avatar zlatanvasovic avatar juthilo avatar ysds avatar ffoodd avatar twbs-grunt avatar bardiharborow avatar rohit2sharma95 avatar vsn4ik avatar kkirsche avatar pvdlg avatar andresgalante avatar coliff avatar pat270 avatar geosot avatar zalog avatar gijsbotje avatar stevenblack avatar glebm avatar burnsra avatar thomas-mcdonald avatar

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.