diff --git a/docs/queries/byrole.mdx b/docs/queries/byrole.mdx index 7c70db2f7..edccdb484 100644 --- a/docs/queries/byrole.mdx +++ b/docs/queries/byrole.mdx @@ -73,6 +73,12 @@ not replace the functionality of these attributes. For example its description if `fancy.jpg` could not be loaded. Whether you want to assert this functionality in your test or not is up to you. +:::tip input type password + +Unfortunately, the spec defines that `` 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)`. + +::: + ## Options ### `hidden`