Skip to content

Commit

Permalink
Simplify example
Browse files Browse the repository at this point in the history
  • Loading branch information
knuton authored Feb 10, 2024
1 parent 4c0b4b1 commit 222dae5
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,6 @@ focus-shift is a lightweight, zero-dependency JavaScript library designed for ke

## Usage

Include the library in your HTML file:

```html
<script src="focus-shift.js"></script>
```

### Basic Example

Here's a simple example of annotating markup:

```html
Expand All @@ -29,6 +21,8 @@ Here's a simple example of annotating markup:
</div>

<button data-focus-skip>Delete your account</button>

<script type="module" src="focus-shift.js"></script>
```

## Options
Expand Down

0 comments on commit 222dae5

Please sign in to comment.