Skip to content

Commit 5dab039

Browse files
committed
docs: Add feat list
1 parent 979bf08 commit 5dab039

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ When developing accessible components, in certain behaviors it is important to t
1212

1313
For example, when opening a modal, it is recommended that the focus is only on the tabbable elements of that modal and only release the focus, when the modal is closed.
1414

15+
- Focus is trapped: Tab and Shift+Tab will cycle through the focusable nodes within `<FocusLoop>` without returning to the main document below;
16+
- Automatic focus on the first focusable element, with the option to disable;
17+
- Restoring focus to the last activeElement;
18+
- Hides the document from screen readers when `<focusLoop>` is visible and enabled.
19+
1520
## Installation
1621

1722
Add `@vue-a11y/focus-loop` in your Vue project.

0 commit comments

Comments
 (0)