![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@160over90/vue-wai-modal
Advanced tools
A Vue.js modal component that adhere's to the W3C Web Accessibility Initiative.
Vue Modal is a component that adhere's to the W3C Web Accessibility Initiative and provides and easy way to impliment a modal.
If you do not have
yarn
you can download it here.
yarn add @160over90/vue-wai-modal
Include in main.js (app entry point)
import VueWaiModal from '@160over90/vue-wai-modal';
Vue.use(VueWaiModal);
yarn install
yarn run serve
An simple example of implimenting the modal.
<template>
<div id="app">
<ModalButton :controls="'example-modal'">
Open button
</ModalButton>
<ModalBackdrop
:id="'example-modal'"
:transitionProps="{ name: 'fade' }"
>
<ModalBackdropDialog
:ariaLabel="'modal'"
:ariaLabelledby="'open-modal'"
class="ExampleComponent__dialog"
>
<h1
class="ExampleComponent__content"
v-text="'Modal Content'"
/>
<ModalButton :controls="'example-modal'">
Close button
</ModalButton>
</ModalBackdropDialog>
</ModalBackdrop>
</div>
</template>
--- Modal Backdrop Component ---
id (String, Required) The ID that matches the button to the modal Backdrop
transition (String, Default: 'transition') Links to a transition component
transitionProps (Object, Default: () => ({})) Links to the name of the transition
:transitionProps="{ name: 'fade' }"
.fade-enter-active,
.fade-leave-active {
transition: opacity 0.5s ease;
}
.fade-enter,
.fade-leave-to {
opacity: 0;
}
initiallyOpen (Boolean, Default: false) Page loads with modal already open
mode (String, Default: 'show', validate(value)) Checks for a v-if, v-show
closedFocus ([HTMLElement, String], Default: undefined)
--- Modal Backdrop Dialog ---
ariaLabel (String, Default: null) Used to define a string that labels the current element in cases where text is not visible on the screen
ariaLabelledby (String, Default: null) Establishes relationships between objects and their labels for assistive technology, such as screen readers
--- Modal Button ---
controls (String, Required) Links to the Backdrop ID (must be the same)
FAQs
A Vue.js modal component that adhere's to the W3C Web Accessibility Initiative.
The npm package @160over90/vue-wai-modal receives a total of 3 weekly downloads. As such, @160over90/vue-wai-modal popularity was classified as not popular.
We found that @160over90/vue-wai-modal demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.