Socket
Book a DemoInstallSign in
Socket

@jneander/focus-dom

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jneander/focus-dom

Focus management for the DOM

latest
Source
npmnpm
Version
2.0.0
Version published
Maintainers
1
Created
Source

@jneander/focus-dom

Focus management for the DOM

Next Steps

  • Add examples of borrowing from outside Focus.

Questions

  • How to ensure everything works correctly while window is in background?
  • What might need to happen when the element hierarchy rearranges?

Unknown Behaviors to Consider

  • automatic reconciliation
    • might depend on more fine-grained fallback rules
      • i.e. removed borrowers release to lenders instead of fallback
  • observability
    • onFocus, onBlur for the FocusRegion?
      • alternately, at the root Focus container
  • iframes in focus
    • focus fallback out of an iframe
    • focus falling into an iframe

Keywords

a11y

FAQs

Package last updated on 18 Feb 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts