wagtail/client
Storm Heg 19ad01ddd5 Fix userbar tabbing behaviour
Tabbing (navigation using Tab or Shift + Tab keys) will now close
the menu and move to the next focusable element on the page instead
of focusing the next menu item.

The previous behaviour was a deviation from the ARIA menu practices:
https://w3c.github.io/aria-practices/#menu

Further changes / cleanup:

* Consume keyboard events like arrow down to prevent the browser
  from interpreting them.
* Refactor repeated setTimeout and `.focus()` calls into single
  `focusElement(el)` function. Let's keep it DRY!

Fixes #7290
2021-09-19 14:46:28 +10:00
..
.storybook Use stubs in storybook 2021-05-03 17:05:56 +01:00
scss Make hamburger menu a button for tab accessibility 2021-09-19 14:18:34 +10:00
src Fix userbar tabbing behaviour 2021-09-19 14:46:28 +10:00
tests Use stubs in storybook 2021-05-03 17:05:56 +01:00
README.md
package-lock.json Feature/field comment frontend (#6530) 2021-04-20 18:25:30 +01:00
webpack.config.js Make all edit panels collapsible (#7365) 2021-08-30 08:33:43 -07:00

README.md

Wagtail client-side components

This library aims to give developers the ability to subclass and configure Wagtail's UI components.

Usage

npm install wagtail
import { Explorer } from 'wagtail';
// [...]
<Explorer />

Development

# From the project root, start the webpack + styles compilation.
npm run start

You will also need:

Releases

The front-end is bundled at the same time as the Wagtail project. This package also aims to be available separately on npm as wagtail.