Skip to content

Commit

Permalink
chore(docs): add missing clip example
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mendez committed Sep 23, 2023
1 parent 3dfc04c commit 43e6de8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion kayle/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# kayle

A high performance web accessibility engine.
A high performance web accessibility engine used at A11yWatch.

```sh
# install a browser automation lib first
Expand Down Expand Up @@ -71,6 +71,13 @@ const results = {
possibleIssuesFixedByCdn: 0,
},
automateable: { missingAltIndexs: [5, 22] },
clip: {
x: 20,
y: 100,
width: 300,
height: 200
},
clipBase64: "iVBORw0KGgoAAAANSUhEUgAAAJYAAABxCAYAAAA3QFrYAAAAA" // use in img element like data:image/png;base64, + clipBase64
};
```

Expand Down

0 comments on commit 43e6de8

Please sign in to comment.