accessibility | A repo to organize the guidelines and best practices | User Interface library

 by   18F HTML Version: Current License: Non-SPDX

kandi X-RAY | accessibility Summary

kandi X-RAY | accessibility Summary

accessibility is a HTML library typically used in User Interface, Angular, React applications. accessibility has no bugs and it has low support. However accessibility has 1 vulnerabilities and it has a Non-SPDX License. You can download it from GitHub.

This repo will contain the guidelines and best practices for 508 accessibility at 18F. The site is in draft.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              accessibility has a low active ecosystem.
              It has 323 star(s) with 60 fork(s). There are 91 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 3 open issues and 135 have been closed. On average issues are closed in 560 days. There are 5 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of accessibility is current.

            kandi-Quality Quality

              accessibility has no bugs reported.

            kandi-Security Security

              accessibility has 1 vulnerability issues reported (0 critical, 0 high, 1 medium, 0 low).

            kandi-License License

              accessibility has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              accessibility releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.

            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 accessibility
            Get all kandi verified functions for this library.

            accessibility Key Features

            No Key Features are available at this moment for accessibility.

            accessibility Examples and Code Snippets

            No Code Snippets are available at this moment for accessibility.

            Community Discussions

            QUESTION

            WCAG 2.1 compatibility with shinydashboard app form label
            Asked 2021-Jun-15 at 03:54

            I developed an app using rshiny, https://smandape.shinyapps.io/mmdit/. I am trying to make it WCAG 2.1 accessible. I am using WAVE (Web accessibility evaluation tool) to check for accessibility. Currently, the errors popping are related to 'missing form label'. These errors are specifically for the code fileInput or rabiobuttons (5 errors are on Data import tab). For example, around the following code. WAVE shows the error for the placeholder for fileInput.

            ...

            ANSWER

            Answered 2021-Jun-15 at 03:54

            fileInput accessibility was one of the things changed in the Shiny v1.6 release: https://shiny.rstudio.com/reference/shiny/1.6.0/upgrade.html

            Closed #2929: Fixed keyboard accessibility for file picker button: keyboard users can now tab to focus on fileInput() widget. (#2937)

            Are you definitely using v1.6? It looks like you are, so you may have identified a bug in the shiny framework.

            EDIT: I had a look at the code for the fileInput control, and it looks to me like the input and label elements aren't properly linked together. I reported it as an issue: https://github.com/rstudio/shiny/issues/3426

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

            QUESTION

            Accessibility: Is a "Skip to content" link necessary when a tag is present?
            Asked 2021-Jun-14 at 19:57

            I'm reading through the WAI-ARIA specs and they state "The main role is a non-obtrusive alternative for 'skip to main content' links".

            Now, I've never heard this, and the first few Google results I've seen are either out-of-date or point right back to the spec. Is there enough (any?) support among accessibility tools to consider phasing out "skip to content" links when a main role is present?

            ...

            ANSWER

            Answered 2021-Jun-14 at 19:57

            What would a keyboard user who doesn't use Assistive Tech do?

            I personally think this is just poorly worded and is trying to say that it offers an alternative way to navigate for Assistive Tech that doesn't intrude on normal operations (as screen reader users for example rarely use Tab and are more likely to navigate my sections or headings and then by links...which would catch skip links obviously).

            If all else fails or advice seems to conflict, you should always follow advice in WCAG over WAI-ARIA spec anyway and WCAG is pretty clear that skip links are a level A requirement.

            And if you still aren't sure - go user experience over guidance and compliance every time!

            Skip links offer a much better user experience to keyboard only users without assistive tech and have very little impact on screen reader users so use them.

            As a final note on this - it is 2021 - unless you are supporting IE8 or older (and even I don't advocate for that sort of madness!) you shouldn't need role="main" and instead just use a element.

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

            QUESTION

            Send data from Activity to AccessibilityService android
            Asked 2021-Jun-14 at 17:58

            I try to Send data from Activity to AccessibilityService. There are solution i found 1 2 but it is not work. This is my code when i use 2:

            in Activity this is my intent

            ...

            ANSWER

            Answered 2021-Jun-14 at 17:58
            Answer:

            You can use the concept of Common class. Just make a Class named common:

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

            QUESTION

            ESLint Async pipes should not be negated
            Asked 2021-Jun-14 at 13:52

            I'm using ESLint with Angular and I don't like having extra code like (observable | async) === (false | null | undefined) instead of just (observable | async). How do I disable that rule?

            ...

            ANSWER

            Answered 2021-Apr-01 at 17:13

            add "@angular-eslint/template/no-negated-async": "off" to the html portion of the esLint rules section

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

            QUESTION

            Atom/Electron/Web applications and accessibility APIs (macOS and Windows)
            Asked 2021-Jun-11 at 06:03

            I'm looking into utilizing accessibility APIs provided by macOS and Windows for an application.

            The AX stuff for macOS works fine, I can get all the elements of a native Cocoa application.

            The Windows APIs is also promising.

            However, apps built with frameworks like Electron and such, which incorporate a "web view" are not accessible through the native APIs. They just appear as a black box. This is also the case using the Accessibility Inspector utility for macOS.

            I'm not convinced this is a dead end though, because the macOS VoiceOver utility can dig into the web elements and inspect them. Are there separate APIs I need to use to get access to the web elements?

            ...

            ANSWER

            Answered 2021-Feb-22 at 10:13

            Ok, just to answer my own question, the key is to set the AXManualAccessibility to true before querying the app's accessibility elements.

            https://www.electronjs.org/docs/tutorial/accessibility#macos

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

            QUESTION

            Flutter dart export hive saved data to file to retrieve later
            Asked 2021-Jun-09 at 18:46

            I am developing a barcode app and save the data to hive. What I need to know is there a way to export the saved hive database to a backup file and be able to retrieve it for instance if the app crashed or your phone is lost. This is for blind accessibility. Want to export the data to a file that I can save to my pc to store and if something happens I do not have to scan all the products again to build the database. If hive can not do this can someone point me in a direction of which flutter dart database can do this. Thank you

            Ok the answer did not work for me. Here is a copy of my model file

            ...

            ANSWER

            Answered 2021-Jun-08 at 10:24

            There is not a "out-of-the-box" solution for that as far as I know. It depends a lot on your use case of how you want to do that (since there are many ways). For a complete example of how I did that for my app, you can take a look here: https://github.com/Kounex/obs_blade/blob/master/lib/views/settings/logs/log_detail/log_detail.dart (I made use of the share package in order to easily export it - but that's not necessary)

            Flutter also has its own documentation on reading and writing files (https://flutter.dev/docs/cookbook/persistence/reading-writing-files) - I will add some information to round it up:

            Storage location

            First of all we have to think about where to store the "backup file". Flutter exposes common paths on its own which you can make use of (additionally the path_provider package gives you more flexibility). If you want this backup file to be temporarily, you can for example use:

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

            QUESTION

            How to change values of tabindex and aria-hidden depending on browser size?
            Asked 2021-Jun-08 at 18:12

            For desktop browser sizes I have a navbar across the top of the page, when browser reduces to mobile size it becomes a hamburger menu. As the menu is hidden at mobile size, then for accessibility reasons I believe that, the elements within the menu need to have attributes of tabindex=-1 and aria-hidden=true. The website is being built using HTML/Jinja2, CSS, client side JS and Python/Flask.

            As you can see from the CodePen below I am able to toggle the aria-hidden attribute once the menu has been opened.

            [My demonstration repsonsive menu using CodePen] (https://codepen.io/janlikescodepen/pen/wvJmdBZ)

            ...

            ANSWER

            Answered 2021-Jun-03 at 21:01

            Have a look at the window resize event -
            https://developer.mozilla.org/en-US/docs/Web/API/Window/resize_event

            As well as window.innerWidth -
            https://developer.mozilla.org/en-US/docs/Web/API/window/innerWidth

            The resize event listens for when the window size changes, and the innerWidth will tell you what size the window is so that you may conditionally modify the DOM depending on the window size.

            Here is a simple example of what you may be looking to do -

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

            QUESTION

            Is it accessible to style button tags to look like links?
            Asked 2021-Jun-08 at 10:59

            As stated on MDN Navigation expects to have a links as children. So if you want to prevent any accesibility issue, I suggest you to stick to them, just remove the href attribute and add a type="button" to your a tags.

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

            QUESTION

            Handle Talkback in a Xamarin app using a virtual DPAD
            Asked 2021-Jun-08 at 08:11

            I have a Xamarin app that was not meant to handle the talkback functionality of android, because for it to work well it had to be build in a specific way.

            My app is a little order, and I simply can't make a do-over of the whole thing.

            So, what is happening? My Xamarin app is made with non-native libs, that are not supported by the Talkback, so, when the user turns on the Talkback functionality the app effectively stops receiving the DPAD events since they are handled by the systems Accessibility Service.

            That service, gets the events, and tries to handle them within my app, but, since my components are non-native, the system does not recognize them and the DPAD is wasted, hence, the illusion that the DPADs are not working.

            So, what do you have to do if you just want to handle the DPADs (and nothing else) yourself with Talkback on?

            The answer to this post will contain the code that describes the following behavior:

            ...

            ANSWER

            Answered 2021-Jun-08 at 08:10

            The first step is to create a class that inherits the AccessibilityDelegateCompat in order to create our own Accessibility Service.

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

            QUESTION

            @testcafe-community/axe does not report violations that other tools do
            Asked 2021-Jun-07 at 09:51

            I am exploring tools I can use for automated Accessibility Testing and wanted to try axe-core with TestCafe. I am an advocate of TestCafe, I love that is a lightweight tool and doesn't have dependencies on WebDriver. The docs are great and the scripting is easy.

            I have however found that @testcafe-community/axe and its predecessor axe-testcafe do not report all violations while axe-core with selenium and axe-webdriverjs do. For example, running with axe-webdriverjs, I have the following code and resulting output showing the violations of a localhost page I am checking -

            Code:

            ...

            ANSWER

            Answered 2021-Jun-04 at 16:42

            The documentation for axe-core states that you need to specify which rules you intend to test against using axe.run options.

            Landmarks are discussed in WCAG 1.3.6., which is a "Level AAA" item. It appears that axe-core is only capable of testing against "Level A" and "Level AA." In your example, the item is not listed by the tool as a WCAG failure, but rather a best-practices recommendation. This may be why it isn't showing up in your other tools.

            If you can easily implement this recommendation, then I'd say go ahead and do it. If not, I wouldn't let something like this stop my code from going into production. Landmarks are nice-to-have, but it's far more important that you meet all "Level A" requirements and as many "Level AA" requirements as you reasonably can.

            It's worth noting that any automated accessibility testing tool is nothing more than a starting point for manual evaluation. These tools often generate tons of false positives (and sometimes miss important things!) because it's often not possible to algorithmically determine whether something is genuinely useful to human visitors.

            I've also seen pages/apps that pass automated tools with no errors (Wave, Axe, etc.), but they are completely impossible to use with assistive technology.

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install accessibility

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

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

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/18F/accessibility.git

          • CLI

            gh repo clone 18F/accessibility

          • sshUrl

            git@github.com:18F/accessibility.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