Skip to content

Adding the focusVisible attribute to the FocusOptions #61458

Description

@JolloDede

⚙ Compilation target

"module": "esnext",

⚙ Library

"svelte": "^5.0.0",

Missing / Incorrect Definition

FocusOptions needs the additional field focusVisible

Sample Code

This errors with property doenst exists

input.focus({ focusVisible: true });

Documentation Link

https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#focusvisible

Metadata

Metadata

Assignees

No one assigned

    Labels

    Working as IntendedThe behavior described is the intended behavior; this is not a bug

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions