Skip to content

Commit 34d6978

Browse files
committed
docs(to-have-value): Update the docs
1 parent 90d8070 commit 34d6978

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -996,6 +996,9 @@ It accepts `<input>`, `<select>` and `<textarea>` elements with the exception of
996996
matched only using [`toBeChecked`](#tobechecked) or
997997
[`toHaveFormValues`](#tohaveformvalues).
998998

999+
It also accepts elements with roles `meter`, `progressbar`, `slider` or
1000+
`spinbutton` and checks their `aria-valuenow` attribute (as a number).
1001+
9991002
For all other form elements, the value is matched using the same algorithm as in
10001003
[`toHaveFormValues`](#tohaveformvalues) does.
10011004

0 commit comments

Comments
 (0)