medialize/ally.js

View on GitHub

Showing 736 of 736 total issues

Avoid too many return statements within this function.
Open

        return false;
Severity: Major
Found in src/is/focusable.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

      return Boolean(tabindex && validIntegerPattern.test(tabindex));
    Severity: Major
    Found in src/is/valid-tabindex.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

            return element.hasAttribute('focusable') || hasTabbableTabindex;
      Severity: Major
      Found in src/is/tabbable.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

            return false;
        Severity: Major
        Found in src/is/tabbable.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                  return hasTabbableTabindex;
          Severity: Major
          Found in src/is/tabbable.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                  return 1;
            Severity: Major
            Found in build/metalsmith/plugins/collection.manual-sort.js - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                  return false;
              Severity: Major
              Found in src/is/focus-relevant.js - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                        return true;
                Severity: Major
                Found in src/is/focus-relevant.js - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                      return focusableAttribute && focusableAttribute === 'false';
                  Severity: Major
                  Found in src/is/focusable.js - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                        return supports.focusAreaTabindex && hasTabindex || supports.focusAreaImgTabindex && img.hasAttribute('tabindex');
                    Severity: Major
                    Found in src/is/valid-area.js - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                          return validTabindex && supports.focusImgUsemapTabindex || supports.focusRedirectImgUsemap;
                      Severity: Major
                      Found in src/is/focus-relevant.js - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                            return true;
                        Severity: Major
                        Found in src/is/tabbable.js - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                  return true;
                          Severity: Major
                          Found in src/is/tabbable.js - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                  return isFocusRelevantWithoutFlexbox(element) && isTabbableWithoutFlexbox(element);
                            Severity: Major
                            Found in src/is/tabbable.js - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                  return true;
                              Severity: Major
                              Found in src/is/focus-relevant.js - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                    return _tabindex === null || !supports.focusImgUsemapTabindex;
                                Severity: Major
                                Found in src/is/focusable.js - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                          return true;
                                  Severity: Major
                                  Found in src/is/tabbable.js - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                      return _window.document.activeElement;
                                    Severity: Major
                                    Found in src/element/blur.js - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                            return true;
                                      Severity: Major
                                      Found in src/is/focus-relevant.js - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                          return false;
                                        Severity: Major
                                        Found in src/is/only-tabbable.js - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language