Skip to content

Commit 82b52b7

Browse files
committedJan 7, 2025
add docs
1 parent 939c55c commit 82b52b7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ await page.evaluate(async () => await WebMarker.unmark());
8787
A custom CSS selector to specify which elements to mark.
8888

8989
- Type: `string`
90-
- Default: `"button, input, a, select, textarea"`
90+
- Default: `'a[href], button, input:not([type="hidden"]), select, textarea, summary, [role="button"], [tabindex]:not([tabindex="-1"])'`
9191

9292
### getLabel
9393

‎docs/pages/index.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ Optionally accepts an options object support the properties below.
130130
A custom CSS selector to specify which elements to mark.
131131

132132
- Type: `string`
133-
- Default: `"button, input, a, select, textarea"`
133+
- Default: `'a[href], button, input:not([type="hidden"]), select, textarea, summary, [role="button"], [tabindex]:not([tabindex="-1"])'`
134134

135135
##### getLabel
136136

0 commit comments

Comments
 (0)