inert
Polyfill for the inert attribute and property. (by WICG)
focus-visible
Polyfill for `:focus-visible` (by WICG)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
inert | focus-visible | |
---|---|---|
4 | 6 | |
917 | 1,606 | |
0.4% | 0.0% | |
0.0 | 2.6 | |
over 1 year ago | over 1 year ago | |
JavaScript | JavaScript | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
inert
Posts with mentions or reviews of inert.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-19.
-
Anyone using <Portal> for their modals?
Regarding support, I can recommend installing the inert polyfill while waiting for all browsers to support it: https://github.com/WICG/inert
-
React: Using native dialogs to make a modal popup
Around two years ago I wrote a post, that I'm still very proud of, called "Using portals to make a modal popup". It made use of portals and inert. At the time there wasn't really a good way to display a modal popup on top of everything else and trap focus within it.
-
Building an Accessible Modal in Vue.
We'll be using wicg-inert for our project. So let's run npm install wicg-inert in our terminal to get it into our project.
-
How to Built
Accessible Web Apps
inert/inert.js at master · WICG/inert
focus-visible
Posts with mentions or reviews of focus-visible.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-09-11.
-
Fixing Focus for Safari
It’s clear that Apple’s Webkit/Safari team are not going to fix this issue. There is an excellent polyfill available for :focus-visible from the WICG. There is a good polyfill available for :focus-within as well. But there is no polyfill for :focus, so Nick Gard has written one. You can read more in this post.
- How to resolve this issue
-
How to Built
Accessible Web Apps
GitHub - WICG/focus-visible: Polyfill for :focus-visible
-
Conditionally loading a polyfill for :focus-visible
In the meantime, we can load the WICG focus-visible polyfill to offer improved focus styles in browsers that yet don't support it. Ideally we don't force browsers that support focus-visible to download a polyfill when it's unnecessary - and in future when all modern browsers support the feature, we don't want to ship that redundant code.
-
Enhance a11y using :focus-visible pseudo-class
Now we have the :focus-visible pseudo-class. But there is again an issue. This selector is supported by chrome, firefox, and edge but not by safari. But thanks to the polyfill. With this polyfill, it will be supported by all major browsers. But we need to slightly update the code.
-
Making focus-visible happen where do you live
I'm going to use Nuxt.js and Tailwind because those are my favorite tools, but you can apply what you will learn here to every project. The real hero behind the scenes here is the focus-visible Polyfill.
What are some alternatives?
When comparing inert and focus-visible you can also consider the following projects:
vue-enterprise-boilerplate - An ever-evolving, very opinionated architecture and dev environment for new Vue SPA projects using Vue CLI.
postcss-focus-visible - Use the :focus-visible pseudo-selector in CSS
axe-core - Accessibility engine for automated Web UI testing