diff --git a/docs/queries/about.mdx b/docs/queries/about.mdx index a5b17b717..541737d12 100644 --- a/docs/queries/about.mdx +++ b/docs/queries/about.mdx @@ -295,6 +295,8 @@ can contain options that affect the precision of string matching: - `exact`: Defaults to `true`; matches full strings, case-sensitive. When false, matches substrings and is not case-sensitive. - `exact` has no effect on `regex` or `function` arguments. + - `exact` has no effect on accessible names specified with the `name` option of `*byRole` + queries. You can use a regex for fuzzy matching on accessible names. - In most cases using a regex instead of a string gives you more control over fuzzy matching and should be preferred over `{ exact: false }`. - `normalizer`: An optional function which overrides normalization behavior. See