From 1ca8335a919a2877ab9dc1bf6ad5967682d7c876 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Wed, 17 Jul 2024 02:40:00 +0200 Subject: [PATCH] Fix documentation of FocusOptions.focusVisible. (#34875) --- files/en-us/web/api/htmlelement/focus/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/en-us/web/api/htmlelement/focus/index.md b/files/en-us/web/api/htmlelement/focus/index.md index a1a15cd88728910..eab5c19079701c1 100644 --- a/files/en-us/web/api/htmlelement/focus/index.md +++ b/files/en-us/web/api/htmlelement/focus/index.md @@ -33,8 +33,8 @@ focus(options) A value of `false` for `preventScroll` (the default) means that the browser will scroll the element into view after focusing it. If `preventScroll` is set to `true`, no scrolling will occur. - `focusVisible` {{optional_inline}} {{experimental_inline}} - - : A boolean value that should be set to `true` to force visible indication that the element is focused. - By default, or if the property is not `true`, a browser may still provide visible indication if it determines that this would improve accessibility for users. + - : A boolean value that should be set to `true` to force, or `false` to prevent visible indication that the element is focused. + If the property is not specified, a browser will provide visible indication if it determines that this would improve accessibility for users. ### Return value