Skip to content

Commit cc51bb2

Browse files
authored
docs(byrole.mdx): add tips for input type password
1 parent 6cca9ac commit cc51bb2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/queries/byrole.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,14 @@ not replace the functionality of these attributes. For example
7373
its description if `fancy.jpg` could not be loaded. Whether you want to assert
7474
this functionality in your test or not is up to you.
7575

76+
:::tip input type password
77+
78+
Use [ByLabelText](queries/bylabeltext.mdx) to select `<input type="password" />`.
79+
80+
This input type doesn't have the textbox role.
81+
82+
:::
83+
7684
## Options
7785

7886
### `hidden`

0 commit comments

Comments
 (0)