Skip to content

Commit 4dd68cb

Browse files
authored
fix(byrole.mdx): for better explanation
see #1410
1 parent cc51bb2 commit 4dd68cb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/queries/byrole.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,7 @@ this functionality in your test or not is up to you.
7575

7676
:::tip input type password
7777

78-
Use [ByLabelText](queries/bylabeltext.mdx) to select `<input type="password" />`.
79-
80-
This input type doesn't have the textbox role.
78+
Unfortunately, the spec defines that `<input type="password" />` has no implicit role. This means that in order to query this type of element we must fallback to a less powerful query such as `[ByLabelText](queries/bylabeltext.mdx)`.
8179

8280
:::
8381

0 commit comments

Comments
 (0)