Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

accessible-menu

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

accessible-menu - npm Package Versions

1235

2.1.1

Diff

Changelog

Source

2.1.1 (2020-11-05)

Bug Fixes

  • accessibility: handle various scenarios causing inaccessible IDs (c55ff1d), closes #87

Build System

  • npm: update dependencies and security violations (d05e1c6)
  • polyfills: add polyfill for String.prototype.endsWith() (82b345a)
nickdjm
published 2.1.0 •

Changelog

Source

2.1.0 (2020-07-25)

Features

  • menu: allow for empty open and close classes (a58b1e3), closes #72
  • menu: allow for multiple open and close classes (b4bc19f), closes #73

Bug Fixes

  • events: make click handling a lot more strict (7f91256)
  • toggle: allow for multiple open/close classes in IE with loop (608450d), closes #72

Documentation

  • usage: update example to be plain html (302a87c), closes #75

Build System

  • deps-dev: bump standard-version from 7.1.0 to 8.0.1 (7b6a2c2), closes #82
  • deps-dev: bump standard-version from 7.1.0 to 8.0.1 (0fc954f)
nickdjm
published 2.0.0 •

Changelog

Source

2.0.0 (2020-05-21)

⚠ BREAKING CHANGES

  • menutoggle: Bootstrap users will need to adjust their custom styles to handle not having the parent's class altered when menus are toggled
  • menu: AccessibleMenu is no longer a constructor, so uses will have to use AccessibleMenu.Menubar
  • menu: Anything relying on the menu.js file will need to be updated to _baseMenu.js
  • menu: Using old getters/setter will result in an error

Features

  • events: use keyup events instead of keydown events (4b8a5ad)
  • menu: add ability to make submenu's open/close on hover (6b30546)
  • menu: add DisclosureMenu class (9ade527), closes #61
  • menu: add menuLinkSelector property to Menu class (6b4e1f2), closes #61
  • menu: add new methods for setting dom elements in the menu (f55951c)
  • menu: add support for a closed class (0668b56)
  • menu: remove focus changing when user is using a mouse (0b02fb0)
  • menu: split out menubar functionality into it's own class (3466db1), closes #61

Bug Fixes

  • events: use touchup and mouseup events instead of click (24f8eaf)
  • ie: add string.prototype.startsWith polyfill (181194b)
  • importing: update index to match new structure (5e7a09b)
  • menu: pass hoverDelay to all submenus (4eca2aa)
  • package: adjust files (4bd259a)
  • correct paths (ee62bc3)
  • menubar: ensure escape will always close open menus (c42d2e5)

Performance Improvements

  • events: add menu-level event tracking (338a2b0), closes #61
  • menu: set default menuItemSelector to li (98e7ec5)
  • toggle: clean up close function and create collapse (131d22d)
  • toggle: only add button role if toggle isn't a button (95f2cfb)
  • validation: condense more of the validation (d9064ac)
  • validation: move validation to its own file for code reuse (9df795d)

Build System

  • update dependencies and config (aa10023)

Documentation

  • update documentation for 2.0.0 (794b553)
  • update jsdocs to have proper default values declared (e7335a1)

Code Refactoring

  • events: move toggle events into main menu (04fcc98), closes #61
  • menu: change constructors, getters, and setters for menus (3800046), closes #61
  • menu: rename Menu to BaseMenu (6ad7ec6), closes #61
  • menutoggle: only alter controlled menu classes on open/close (8099df8)
nickdjm
published 1.1.0 •

Changelog

Source

1.1.0 (2020-03-09)

Features

  • add built-in ie11 support to cdn (0fbba5b), closes #58

Bug Fixes

  • menu: add handlers for enter/space in root level menus (4b26192), closes #56

Build System

Documentation

  • general: add jsfiddle example for the library (8304580)
  • general: update description (6427d56)
nickdjm
published 1.0.6 •

Changelog

Source

1.0.6 (2020-02-26)

Bug Fixes

  • accessibility: correct role declarations on menu items (66aca2f), closes #54
nickdjm
published 1.0.5 •

Changelog

Source

1.0.5 (2020-02-14)

Bug Fixes

  • menu: focus menuitem on tab instead of whole menu (e24c2eb), closes #52
nickdjm
published 1.0.4 •

Changelog

Source

1.0.4 (2019-12-15)

Bug Fixes

  • menu: keep focus on root item after left/right arrows (f0d1499), closes #50
  • menu: prevent default event on arrow up/down on top level menus (d9410f3), closes #47

Build System

  • npm: disallow .files from being packaged (73e0579)
  • npm: ensure build is run and committed with release (a9f03ff)

Code Refactoring

  • main: change main.js to index.js to keep to internal standard (c4091ab)
nickdjm
published 1.0.3 •

Changelog

Source

1.0.3 (2019-11-25)

Bug Fixes

nickdjm
published 1.0.1 •

Changelog

Source

1.0.1 (2019-11-24)

Documentation

  • setup: remove notes on initialization (7aa1f4d)
nickdjm
published 1.0.0 •

Changelog

Source

1.0.0 (2019-11-24)

Bug Fixes

  • menu: add proper event handling for older browsers (ef62b61), closes #16
  • menu: close top-level dropdowns on click away (5c9ae7c), closes #42
  • menu: fix focus on exit (576b540)
  • menu: focus menu controller on exit (a89539c)
  • toggle: handle non-existant parent menu properly (82e0156)

Build System

Documentation

  • contribution: keep all contributing docs in contributing.md (9c252c0)
  • general: add class and usage documentation (b007134), closes #38
  • readme: add basic instructions for IE/Edge support (fa0e3ee), closes #37
  • readme: add browser support icons (081ce1b)

Code Refactoring

  • menu: allow submenu selectors to be null (db1c4d8)
  • menu: overhaul keydown handling (ccf3ddc), closes #43 #44
  • toggle: move click event into handleClick (337a275)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc