accessible-menu

A JavaScript library to help you generate WAI-ARIA accessible menus in the DOM.

ISC License

Downloads
3.8K
Stars
38
Committers
5
accessible-menu - 4.1.2 Latest Release

Published by NickDJM 3 months ago

4.1.2 (2024-08-01)

Bug Fixes

  • add requestAnimationFrame to focus and blur to make transitioning more consistent (#338) (6add377), closes #337
accessible-menu - 4.1.1

Published by NickDJM 3 months ago

4.1.1 (2024-08-01)

Bug Fixes

  • toggles: use appropriate aria attributes based on spec (d041b52), closes #333

Build System

  • npm: remove browser-sync plugin (aa1f65a)
  • npm: update husky to latest and remove deprecations (7c3e78d)
accessible-menu - 4.1.0

Published by NickDJM 4 months ago

4.1.0 (2024-06-25)

Features

  • menus: add default submenuItemSelector (7eea6cf), closes #310
  • treeview: handle aria-expanded true on load (a01b53c), closes #268

Bug Fixes

  • demo: actually show active buttons (a478d12)
  • hover: correct dynamic hover functionality to work like in apg (818cd3b), closes #303
  • hover: handle cancelling hover events when re-entering menu items (a999f22), closes #299
  • remove deprecated code (80a7697)
  • treeview: move pointerleave event to proper spot (53c9442)
  • treeview: only close submenus when menu recieves pointerleave event (dfeddbd), closes #315

Build System

  • bump @eslint/js from 8.57.0 to 9.1.1 (e7bbef6)
  • bump globals from 14.0.0 to 15.0.0 (0bb5677)
  • npm: remove @babel/eslint-parser from dev dependencies (210eba6)
  • release: remove unused updater (e720086)

Documentation

  • api: correct information about how ids are generated (cbc4b68)
  • update copyright on license (eab322f)
accessible-menu - 4.0.1

Published by NickDJM 8 months ago

4.0.1 (2024-03-05)

Bug Fixes

  • allow external projects to properly import src (426e53a)
accessible-menu - 4.0.0

Published by NickDJM 8 months ago

4.0.0 (2024-03-01)

⚠ BREAKING CHANGES

  • toggles: any subclasses with custom initialize methods will need to add new setup methods
  • validate: renamed isCSSSelector to isQuerySelector
  • using new es module config will render any old versions incompatible
  • dist file names have changed to *.iife.js and *.es.js
  • validation: changes the return type of validation functions from boolean to object
  • isEventSupported will no longer be declared in validate

Features

  • toggles: split initialize method out into individual tasks (#285) (77db110)
  • add cjs support and define exports (2d9d33f)
  • add support for hoverDelay and transitions on pointerenter (1a19215), closes #211
  • add demo environment using vite (07fb0ba), closes #201
  • menu: add new TopLinkDisclosureMenu sub-class (93dbca1), closes #168

Bug Fixes

  • menu: set default disclousre menu submenu toggle to button (395ee8f), closes #276 #273
  • accessibility: set submenu menubar roles to menu (c25652c)
  • controller: use toggle for space and enter (e5d7969), closes #222
  • focus: do not reset child menus to correct focusing issues (b92fa0f), closes #209
  • hover: correct treeview focus and general hover delay bugs (f613c84)
  • menubar: properly focus parent menu current child when closing (0e42d2b)

Build System

  • eslint: update ignores (565e876)
  • github: build docs for 4.x (7804d48)
  • npm: update commitlint to latest (c9ecd6d)
  • npm: update dependencies to latest (5525245)
  • npm: update lint-staged to latest (6ea9967)
  • upgrade dependencies and config to support es modules (74da841)
  • actions: update checkout to v4 (a481c5f)
  • npm: update all dependencies to latest (92506d1)
  • github: enable all workflows for 4.x (a08dda1)
  • replace rollup with vite and update dist to match (d7b6785)
  • use test run script for prerelease (9b33d1a)
  • bump eslint-plugin-jsdoc from 39.9.1 to 40.0.0 (056c0cd)
  • bump eslint-plugin-jsdoc from 40.3.0 to 43.0.0 (95e2b48)
  • eslint: upgrade options for jsdoc plugin (f3d96c5)
  • npm: ensure latest version of vitest to fix issues with githun action tests (a4488e8)

Code Refactoring

  • demo: update styles and swap to plain css (887cf4c)
  • validate: rename and rephrase css selectors to query selectors (de11dcd)
  • validation: return a status and message when validation fails (ec16bc5)
  • validation: update validation functions to take advantage of new error system (aba9997)

Documentation

  • add api index (7951802)
  • add current release to menu (4d3dd94)
  • add links to codepens (52f36e1), closes #289
  • add upgrade guide for both v3 to v4 and v2 to v3 (059e36c)
  • correct capitalization (9ca87e7)
  • replace auto generated docs with vitepress docs (08b01c4), closes #130* readme: correct test badge name (f5cb292)
  • update test docs to account for top-link disclosures (de0a72b)
  • update references and security policy to reflect 4.x change (f1c639d)

Continuous Integration

Miscellaneous Chores

  • remove deprecated validation function (d710180)
accessible-menu - 3.0.9

Published by NickDJM 8 months ago

3.0.9 (2024-03-01)

Build System

  • actions: update checkout to v4 (f036ac1)
  • bump @commitlint/cli from 17.8.1 to 18.4.3 (255b300)
  • bump @commitlint/cli from 18.6.1 to 19.0.3 (315f933)
  • bump @commitlint/config-conventional from 17.8.1 to 18.4.3 (60b8568)
  • bump @commitlint/config-conventional from 18.6.2 to 19.0.3 (18cfecd)
  • bump eslint-config-prettier from 8.10.0 to 9.1.0 (0adc7b7)
  • bump eslint-plugin-jsdoc from 46.10.1 to 48.0.2 (98bcf4a)
  • bump husky from 8.0.3 to 9.0.11 (935a097)
  • bump lint-staged from 13.3.0 to 15.2.0 (432c9d9)
  • bump prettier from 2.8.8 to 3.1.1 (8e2969e)
accessible-menu - 4.0.0-beta.5

Published by NickDJM about 1 year ago

4.0.0-beta.5 (2023-09-26)

Features

  • add cjs support and define exports (2d9d33f)

Build System

  • actions: update checkout to v4 (a481c5f)

Documentation

  • readme: correct test badge name (f5cb292)

Continuous Integration

  • update push and pr rules (15cbe9f)
accessible-menu - 3.0.8

Published by NickDJM over 1 year ago

3.0.8 (2023-06-30)

Build System

  • npm: update all dependencies to latest (af2bd4a)
accessible-menu - 4.0.0-beta.4

Published by NickDJM over 1 year ago

4.0.0-beta.4 (2023-06-29)

Bug Fixes

  • accessibility: set submenu menubar roles to menu (c25652c)
accessible-menu - 3.0.7

Published by NickDJM over 1 year ago

3.0.7 (2023-06-29)

Bug Fixes

  • accessibility: set sebmenu menubar roles to menu (26b517f)
accessible-menu - 4.0.0-beta.3

Published by NickDJM over 1 year ago

4.0.0-beta.3 (2023-06-22)

Bug Fixes

  • controller: use toggle for space and enter (e5d7969), closes #222
  • focus: do not reset child menus to correct focusing issues (b92fa0f), closes #209
  • hover: correct treeview focus and general hover delay bugs (f613c84)
  • menubar: properly focus parent menu current child when closing (0e42d2b)

Build System

  • npm: update all dependencies to latest (92506d1)
accessible-menu - 3.0.6

Published by NickDJM over 1 year ago

3.0.6 (2023-06-22)

Bug Fixes

  • controller: use toggle for space and enter (bc20ffa), closes #222

Continuous Integration

Build System

  • bump eslint-plugin-jsdoc from 39.9.1 to 40.0.0 (aa1560a)
  • bump eslint-plugin-jsdoc from 40.3.0 to 43.0.0 (235cccd)
  • bump eslint-plugin-jsdoc from 43.2.0 to 44.2.4 (4635fa1)
  • bump eslint-plugin-jsdoc from 44.2.7 to 46.2.6 (d3064c7)
  • bump jest-extended from 3.2.4 to 4.0.0 (93fb295)
  • eslint: upgrade options for jsdoc plugin (fcbe473)

Documentation

  • properly handle menu types in documentation to ensure accuracy (acd1053)
accessible-menu - 4.0.0-beta.2

Published by NickDJM over 1 year ago

4.0.0-beta.2 (2023-06-21)

Tests

  • clean up tests and fix logic behind some tests that technically passed, but were useless
accessible-menu - 4.0.0-beta.1

Published by NickDJM over 1 year ago

4.0.0-beta.1 (2023-06-20)

Features

  • add support for hoverDelay and transitions on pointerenter (1a19215), closes #211

Documentation

  • update test docs to account for top-link disclosures (de0a72b)

Continuous Integration

Build System

  • bump eslint-plugin-jsdoc from 39.9.1 to 40.0.0 (056c0cd)
  • bump eslint-plugin-jsdoc from 40.3.0 to 43.0.0 (95e2b48)
  • eslint: upgrade options for jsdoc plugin (f3d96c5)
  • npm: ensure latest version of vitest to fix issues with githun action tests (a4488e8)
accessible-menu - 4.0.0-beta.0

Published by NickDJM over 1 year ago

4.0.0-beta.0 (2023-02-09)

⚠ BREAKING CHANGES

  • dist file names have changed to *.iife.js and *.es.js
  • validation: changes the return type of validation functions from boolean to object
  • isEventSupported will no longer be declared in validate

Features

  • add demo environment using vite (07fb0ba), closes #201
  • menu: add new TopLinkDisclosureMenu sub-class (2481e91), closes #168

Miscellaneous Chores

  • remove deprecated validation function (d710180)

Code Refactoring

  • validation: return a status and message when validation fails (ec16bc5)
  • validation: update validation functions to take advantage of new error system (aba9997)

Documentation

  • update references and security policy to reflext 4.x change (f1c639d)

Build System

  • github: enable all workflows for 4.x (a08dda1)
  • replace rollup with vite and update dist to match (304f0ac)
  • use test run script for prerelease (9b33d1a)
accessible-menu - 3.0.5

Published by NickDJM over 1 year ago

3.0.5 (2023-02-09)

Bug Fixes

  • enter/space should toggle submenu visibility (6472c69)
  • tests: add jest-jsdom-environment to project (3a2a13a)

Build System

  • bump @commitlint/cli from 15.0.0 to 16.0.1 (692a10b)
  • bump @commitlint/cli from 16.3.0 to 17.0.0 (f6aa717)
  • bump @commitlint/config-conventional from 15.0.0 to 16.0.0 (9aeca1f)
  • bump @commitlint/config-conventional from 16.2.4 to 17.0.0 (b8c93e2)
  • bump @rollup/plugin-babel from 5.3.1 to 6.0.0 (447f1af)
  • bump docdash from 1.2.0 to 2.0.0 (7346b0f)
  • bump eslint-plugin-jsdoc from 37.9.7 to 38.0.3 (3d7666c)
  • bump eslint-plugin-jsdoc from 38.1.6 to 39.1.0 (f5ef611)
  • bump husky from 7.0.4 to 8.0.1 (40ac409)
  • bump jest from 27.5.1 to 28.0.2 (de25db8)
  • bump jest from 28.1.3 to 29.0.0 (9fae69c)
  • bump jest-environment-jsdom from 28.1.3 to 29.0.0 (ad06a1f)
  • bump jest-extended from 1.2.1 to 2.0.0 (66491a2)
  • bump jest-extended from 2.1.0 to 3.0.0 (90eff49)
  • bump jsdoc from 3.6.11 to 4.0.0 (83f807e)
  • bump lint-staged from 12.5.0 to 13.0.1 (58058da)

Documentation

  • add Coldfront Labs Inc. as a sponsor (a867085), closes #188
  • badges: update path to workflow badges (fdf72ea), closes #190
  • correct incorrect default value for isTopLevel documentation (a47662f)
  • correct type in link to DisclosureMenu (a20bed1)
  • fix broken WAI ARIA example links (853934e)
  • update examples links to working codepens (6837573), closes #191
  • update links to aria apg (8f35759)
  • update readme to mention accessible-menu-bootstrap-5 (8516528)
accessible-menu - 3.0.4

Published by NickDJM almost 3 years ago

3.0.4 (2021-11-30)

Bug Fixes

  • menu: do not trigger hover events for pointer types pen or touch (680abc5)

Build System

  • bump @commitlint/cli from 14.1.0 to 15.0.0 (97c0335)
  • bump @commitlint/config-conventional from 14.1.0 to 15.0.0 (e2db0da)
  • bump lint-staged from 11.2.6 to 12.0.2 (bf4f993)
  • versioning: automatically update CDN version links in README on release (556961b), closes #145
accessible-menu - 3.0.3

Published by NickDJM almost 3 years ago

3.0.3 (2021-11-11)

Bug Fixes

  • accessibility: use pointer events for _handleHover() to ensure device support (a137cb0)

Build System

  • bump @commitlint/cli from 13.2.1 to 14.1.0 (4d423c0)
  • bump @commitlint/config-conventional from 13.2.0 to 14.1.0 (ccf5e8e)
accessible-menu - 3.0.2

Published by NickDJM about 3 years ago

3.0.2 (2021-10-26)

Bug Fixes

  • menubar: ensure click events are fired on regular submenu items (035a104), closes #141

Build System

  • bump eslint-plugin-jsdoc from 36.1.1 to 37.0.0 (84f57d7)

Documentation

  • contributing: update fork info and consistency (2cc2c0d)

Continuous Integration

  • workflow: add build and lint workflows (efbe3ca)
accessible-menu - 3.0.1

Published by NickDJM about 3 years ago

3.0.1 (2021-10-18)

Bug Fixes

  • accessibilty: replace click/touch events with pointer events (e88ae5f)

Documentation

  • badges: add CodeQL badge (fdcbfb7)
  • correct typo (7adac86)
  • examples: use proper links to api in basic examples (9c1f075)
  • github: add documentation issue template (f43cf42)
  • github: add security policy (30915b5)
  • github: update issue and pr templates (8f7b322)
  • menu: correct documentation on handle click (c0c9894)
  • release: update documentation to be accurate as to what happens on release (a95f86c)
  • update contributing guidelines to reflect the current state of the project (8fde6b8)
  • validate: add deprecation notice to isEventSupported() (04c7cbd)

Build System

  • bump jest-extended from 0.11.5 to 1.0.0 (85074a7)
  • npm: remove deprecated eslint-plugin-standard (c50a001)