Plugin "netlify-plugin-a11y" failed

How can I solve this problem?
10:49:26 AM: Failed during stage ‘building site’: Build script returned non-zero exit code: 2 (Search results for '"non-zero exit code: 2"' - Netlify Support Forums)
10:49:06 AM: Netlify Build
10:49:06 AM: ────────────────────────────────────────────────────────────────
10:49:06 AM: ​
10:49:06 AM: ❯ Version
10:49:06 AM: @netlify/build 29.18.0
10:49:06 AM: ​
10:49:06 AM: ❯ Flags
10:49:06 AM: baseRelDir: true
10:49:06 AM: buildId: 64d1ad0bc1cfab1c4fbc694f
10:49:06 AM: deployId: 64d1ad0bc1cfab1c4fbc6951
10:49:06 AM: ​
10:49:06 AM: ❯ Current directory
10:49:06 AM: /opt/build/repo
10:49:06 AM: ​
10:49:06 AM: ❯ Config file
10:49:06 AM: /opt/build/repo/netlify.toml
10:49:06 AM: ​
10:49:06 AM: ❯ Context
10:49:06 AM: production
10:49:06 AM: ​
10:49:06 AM: ❯ Installing plugins
10:49:06 AM: - netlify-plugin-a11y@0.0.12
10:49:06 AM: - netlify-plugin-hugo-cache-resources@0.2.1
10:49:15 AM: ​
10:49:15 AM: ❯ Loading plugins
10:49:15 AM: - netlify-plugin-a11y@0.0.12 from Netlify app
10:49:15 AM: - netlify-plugin-hugo-cache-resources@0.2.1 from netlify.toml
10:49:16 AM: ​
10:49:16 AM: netlify-plugin-hugo-cache-resources (onPreBuild event)
10:49:16 AM: ────────────────────────────────────────────────────────────────
10:49:16 AM: ​
10:49:16 AM: Checking if resources exist at resources
10:49:16 AM: No cache found for resources folder
10:49:16 AM: ​
10:49:16 AM: (netlify-plugin-hugo-cache-resources onPreBuild completed in 7ms)
10:49:16 AM: ​
10:49:16 AM: build.command from netlify.toml
10:49:16 AM: ────────────────────────────────────────────────────────────────
10:49:16 AM: ​
10:49:16 AM: $ hugo --gc --minify -b $URL
10:49:18 AM: hugo: downloading modules …
10:49:20 AM: hugo: collected modules in 3472 ms
10:49:20 AM: Start building sites …
10:49:20 AM: hugo v0.108.0-a0d64a46e36dd2f503bfd5ba1a5807b900df231d+extended linux/amd64 BuildDate=2022-12-06T13:37:56Z VendorInfo=gohugoio
10:49:22 AM: | EN
10:49:22 AM: -------------------±----
10:49:22 AM: Pages | 52
10:49:22 AM: Paginator pages | 0
10:49:22 AM: Non-page files | 15
10:49:22 AM: Static files | 11
10:49:22 AM: Processed images | 76
10:49:22 AM: Aliases | 13
10:49:22 AM: Sitemaps | 1
10:49:22 AM: Cleaned | 0
10:49:22 AM: Total in 5759 ms
10:49:22 AM: ​
10:49:22 AM: (build.command completed in 5.8s)
10:49:22 AM: ​
10:49:22 AM: netlify-plugin-a11y (onPostBuild event)
10:49:22 AM: ────────────────────────────────────────────────────────────────
10:49:22 AM: ​
10:49:24 AM: [404 Page not found | Zhiyuan Yan (public/404.html)] error 1: This form does not contain a submit button, which creates issues for those who cannot submit the form using the keyboard. Submit buttons are INPUT elements with type attribute submit or image, or BUTTON elements with type submit or omitted/invalid. (<input name=q type=search c…)
10:49:24 AM: [404 Page not found | Zhiyuan Yan (public/404.html)] error 1: This searchinput element does not have a name available to an accessibility API. Valid names are: label element, title undefined, aria-label undefined, aria-labelledby undefined. ()
10:49:24 AM: [Zhiyuan Yan (public/index.html)] error 1: Anchor element found with a valid href attribute, but no link content has been supplied. ()
10:49:24 AM: ​
10:49:24 AM: Plugin netlify-plugin-a11y failed
10:49:24 AM: ────────────────────────────────────────────────────────────────
10:49:24 AM: ​
10:49:24 AM: Error message
10:49:24 AM: Error: 3 accessibility issues found! Please fix.
10:49:24 AM: ​
10:49:24 AM: Plugin details
10:49:24 AM: Package: netlify-plugin-a11y
10:49:24 AM: Version: 0.0.12
10:49:24 AM: Repository: git+https://github.com/sw-yx/netlify-plugin-a11y.git
10:49:24 AM: npm link: netlify-plugin-a11y - npm
10:49:24 AM: Report issues: Issues · netlify-labs/netlify-plugin-a11y · GitHub
10:49:24 AM: ​
10:49:24 AM: Error location
10:49:24 AM: In onPostBuild event in netlify-plugin-a11y from Netlify app
10:49:24 AM: ​
10:49:24 AM: Resolved config
10:49:24 AM: build:
10:49:24 AM: command: hugo --gc --minify -b $URL
10:49:24 AM: commandOrigin: config
10:49:24 AM: environment:
10:49:24 AM: - HUGO_VERSION
10:49:24 AM: - HUGO_ENABLEGITINFO
10:49:24 AM: - HUGO_ENV
10:49:24 AM: publish: /opt/build/repo/public
10:49:24 AM: publishOrigin: config
10:49:24 AM: headers:
10:49:26 AM: Build failed due to a user error: Build script returned non-zero exit code: 2
10:49:26 AM: Failing build: Failed to build site
10:49:26 AM: Finished processing build request in 39.031s
The better the post - the faster the answer.

Can you share your site ID

Hello, my site ID is:
751f02e9-149f-41fd-8984-0b777c3a5697

You should set failWithIssues to false: netlify-labs/netlify-plugin-a11y: Build a more accessible web! Run your critical pages through pa11y and fail build if accessibility failures are found. (github.com)