Skip to content

Releases: focus-trap/tabbable

v5.2.1

14 Aug 16:34
4507ab7
Compare
Choose a tag to compare

Patch Changes

  • 1d5fcb5: Fixed: Form elements in disabled fieldsets should not be tabbable/focusable (#413)

v5.2.0

09 Apr 13:37
be458c8
Compare
Choose a tag to compare

Minor Changes

  • bf0a8f0: Exposed an option to select the way that an element is checked as displayed

v5.1.6

19 Feb 17:22
8ada32f
Compare
Choose a tag to compare

Patch Changes

  • f9f6d25: Replaces Karma/Mocha/Sinon/Chai in test suite with Jest/Dom Testing Library. Removes README reference to identifying anchor tags with an xlink:href attribute as tabbable since that information is incorrect.

v5.1.5

16 Dec 17:46
b409b0b
Compare
Choose a tag to compare

Patch Changes

  • c048203: fix crash when radio button name attributes contain CSS selector special characters (#168)

v5.1.4

25 Nov 17:35
c2e38ab
Compare
Choose a tag to compare

Patch Changes

  • a188c71: use element.matches fallback for IE11 and Webkit5
  • 0d4cdf8: Update the code to use const/let and function declarations only for the repo; this does NOT affect browser compatibility as the code is still transpiled when published into the ./dist directory for various targets.

v5.1.3

26 Oct 16:34
0bb73f8
Compare
Choose a tag to compare

Patch Changes

  • 5579825: fixes to details elements
    • ignore elements nested under a closed details element
    • ignore any extra summary elements after the first summary element
    • add details element as tabbable in case it has no direct summary element

v5.1.2

07 Oct 23:52
f351691
Compare
Choose a tag to compare

Patch Changes

  • d3c6514: Fix UMD build incorrectly using focusTrap as output name.
  • 95563c2: Fix #99: Transpile ESM bundle down to the same browser target used for the CJS and UMD bundles. ESM is just the module system, not the browser target.

v5.1.1

05 Oct 18:56
8a1863d
Compare
Choose a tag to compare

Patch Changes

  • fb49d23: Fix #96: Transpile non-minified bundles for expected browser targets.

v5.1.0

19 Sep 19:30
c7a9a2c
Compare
Choose a tag to compare

Minor Changes

  • bd21d91: Add focusable() for getting all focusable nodes.

Patch Changes

  • 3665d0b: The TypeScript return type of tabbable has been fixed: Was Array<Element> (an Element is technically not focusable), is now Array<HTMLElement | SVGElement> (which are both still/also Element instances).
  • 8a25135: Fixed: Tabbable elements in fixed-position (position: fixed) containers should now be consistently found in supported browsers.
  • 9544de2: Replace prepublishOnly script with prepare script. This has the added benefit of running automatically when installing the package from GitHub (as supported by NPM) where the published ./dist directory is not automatically included.
  • 672f4a2: Add focusable() type definition.
  • 2424c0f: Small improvements for improving tree-shakeability of this package. A missing #__PURE__ annotation has been added to allow dropping one of the top-level calls (if its result stays unused) and removed minification of the file referenced as package.json#module to avoid dropping the comments (including existing #__PURE__ annotations).