You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem
We are using @ithaka/focus-trap which is an out of date fork of a no longer maintained package to provide focus trapping for accessibility purposes. This package calls document directly in it's initialization which conflicts with the Gatsby SSR of pharos-site, requiring a clunky workaround on all pages for components which use it.
The solution
Update to a maintained library or write our own focus-trap inside of Pharos which is compatible with Gatsby SSR.
The problem
We are using @ithaka/focus-trap which is an out of date fork of a no longer maintained package to provide focus trapping for accessibility purposes. This package calls
document
directly in it's initialization which conflicts with the Gatsby SSR of pharos-site, requiring a clunky workaround on all pages for components which use it.The solution
Update to a maintained library or write our own focus-trap inside of Pharos which is compatible with Gatsby SSR.
Additional information
popover
API where appropriate #755 and Leverage native dialog element for Modal #347 may impact this if the focus trap is no longer neededThe text was updated successfully, but these errors were encountered: