Skip to content

Releases: NickDJM/accessible-menu

2.1.1

05 Nov 18:49
Compare
Choose a tag to compare

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)

2.1.0

25 Jul 03:28
Compare
Choose a tag to compare

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

2.0.0

19 Jun 14:13
Compare
Choose a tag to compare

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)

1.1.0

09 Mar 03:33
Compare
Choose a tag to compare

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)

1.0.6

26 Feb 15:31
Compare
Choose a tag to compare

1.0.6 (2020-02-26)

Bug Fixes

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

1.0.5

14 Feb 20:24
Compare
Choose a tag to compare

1.0.5 (2020-02-14)

Bug Fixes

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

1.0.4

15 Dec 01:50
Compare
Choose a tag to compare

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)

1.0.3

25 Nov 15:07
Compare
Choose a tag to compare

1.0.3 (2019-11-25)

Bug Fixes

  • menu: fix typo in build (8a9a72d)

1.0.2

25 Nov 15:02
Compare
Choose a tag to compare

1.0.2 (2019-11-25)

Bug Fixes

  • menu: correct type in tab event (d0d9420)

Documentation

  • general: update version in cdn example (da78b06)

1.0.1

24 Nov 21:09
Compare
Choose a tag to compare

1.0.1 (2019-11-24)

Documentation

  • setup: remove notes on initialization (7aa1f4d)