a11y-dialog | A very lightweight and flexible accessible modal dialog | User Interface library

 by   KittyGiraudel JavaScript Version: 8.0.4 License: MIT

kandi X-RAY | a11y-dialog Summary

kandi X-RAY | a11y-dialog Summary

a11y-dialog is a JavaScript library typically used in User Interface applications. a11y-dialog has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can install using 'npm i srf-a11y-dialog' or download it from GitHub, npm.

This is a lightweight (1.3Kb) yet flexible script to create accessible dialog windows.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              a11y-dialog has a medium active ecosystem.
              It has 2207 star(s) with 140 fork(s). There are 34 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 5 open issues and 109 have been closed. On average issues are closed in 41 days. There are 7 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of a11y-dialog is 8.0.4

            kandi-Quality Quality

              a11y-dialog has no bugs reported.

            kandi-Security Security

              a11y-dialog has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              a11y-dialog is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              a11y-dialog releases are available to install and integrate.
              Deployable package is available in npm.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of a11y-dialog
            Get all kandi verified functions for this library.

            a11y-dialog Key Features

            No Key Features are available at this moment for a11y-dialog.

            a11y-dialog Examples and Code Snippets

            No Code Snippets are available at this moment for a11y-dialog.

            Community Discussions

            QUESTION

            How should a dialog announce dynamic content to screen reader users?
            Asked 2019-Sep-03 at 21:47

            I have a element which, when opened, requests some content from the server using AJAX. When the content returns (which of course can be any length of time depending on connection speed and amount of content) the new content is then dynamically appended to the dialog.

            How can I make screen reader users aware that this content now exists and that they can move to it? Should focus be moved to the content once it is inserted?

            I'm using the a11y-dialog library to open the dialog.

            I have the container for the dialog set up with aria-live="polite" and add aria-busy="true" once I start the AJAX request.

            aria-busy is then set to false once the AJAX request returns and the content is added to the container.

            This works to announce the content as soon as it arrives, however, it reads all text entered, which in some cases can be several paragraphs. My experience with the screen reader controls is limited, so I'm unsure if there is a way to interrupt this automatic reading process.

            This is the HTML code for the dialog. The AJAX container has the id #dialog-ajax-wrapper.

            ...

            ANSWER

            Answered 2019-Sep-03 at 21:47

            Modals are always difficult for accessibility and they will be until the element is complete adopted.

            I would insert the dynamic content after the call to action item so the user will be aware of the content he needs to fill.

            Source https://stackoverflow.com/questions/57526609

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install a11y-dialog

            You can install using 'npm i srf-a11y-dialog' or download it from GitHub, npm.

            Support

            Contributing guidelines can be found in CONTRIBUTING.md.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • npm

            npm i a11y-dialog

          • CLONE
          • HTTPS

            https://github.com/KittyGiraudel/a11y-dialog.git

          • CLI

            gh repo clone KittyGiraudel/a11y-dialog

          • sshUrl

            git@github.com:KittyGiraudel/a11y-dialog.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link