medialize/ally.js

View on GitHub

Showing 736 of 736 total issues

Avoid too many return statements within this function.
Open

  return true;
Severity: Major
Found in src/is/valid-area.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 -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 validTabindex || supports.focusSvg || supports.focusSvgInIframe
              // Internet Explorer understands the focusable attribute introduced in SVG Tiny 1.2
              || Boolean(supports.focusSvgFocusableAttribute && focusableAttribute && focusableAttribute === '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 !isValidArea(element);
          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 element.hasAttribute('focusable');
              Severity: Major
              Found in src/is/tabbable.js - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                    return Boolean(except.onlyTabbable);
                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 0;
                    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 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 0;
                        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 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/tabbable.js - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                return element;
                              Severity: Major
                              Found in src/element/disabled.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 tabindex !== null && supports.focusSvgForeignobjectTabindex;
                                    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 true;
                                        Severity: Major
                                        Found in src/is/focus-relevant.js - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language