diff --git a/package.json b/package.json index 7eb0abc236..d44ab387d1 100644 --- a/package.json +++ b/package.json @@ -64,6 +64,7 @@ "dappscout-iframe": "^0.1.0", "dayjs": "^1.11.5", "dom-to-image": "^2.6.0", + "focus-visible": "^5.2.0", "framer-motion": "^6.5.1", "gradient-avatar": "^1.0.2", "graphiql": "^2.2.0", diff --git a/pages/_app.tsx b/pages/_app.tsx index 2f8ff8374b..a9598e5578 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -23,6 +23,7 @@ import Layout from 'ui/shared/layout/Layout'; import Web3ModalProvider from 'ui/shared/Web3ModalProvider'; import 'lib/setLocale'; +import 'focus-visible/dist/focus-visible'; type AppPropsWithLayout = AppProps & { Component: NextPageWithLayout; diff --git a/yarn.lock b/yarn.lock index 31478c7bc8..5523533dd9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10365,6 +10365,11 @@ focus-lock@^0.11.6: dependencies: tslib "^2.0.3" +focus-visible@^5.2.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/focus-visible/-/focus-visible-5.2.0.tgz#3a9e41fccf587bd25dcc2ef045508284f0a4d6b3" + integrity sha512-Rwix9pBtC1Nuy5wysTmKy+UjbDJpIfg8eHjw0rjZ1mX4GNLz1Bmd16uDpI3Gk1i70Fgcs8Csg2lPm8HULFg9DQ== + follow-redirects@^1.15.0: version "1.15.2" resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13"