Skip to content

Support HTMLElement.focus() Option FocusVisibleΒ #63626

Description

@larnett

πŸ” Search Terms

focusVisible

βœ… Viability Checklist

⭐ Suggestion

Typescript should now support the FocusVisible property of FocusOptions.

πŸ“ƒ Motivating Example

The FocusVisible FocusOption is now supported on all major browsers except Samsung Internet. It is supported on all desktop browsers. It was stated under the previous issue on the topic that a new issue should be opened when the feature is more widely supported, and it is now more widely supported.
Image
Source: HTMLElement: focus() method

πŸ’» Use Cases

  1. What do you want to use this for? Ensuring the focused element is visibly focused.
  2. What shortcomings exist with current approaches? There isn't a workaround for this.
  3. What workarounds are you using in the meantime? There isn't a workaround for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FixedA PR has been merged for this issue

    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