You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I installed this plugin on a site that has no build process, just hosts static files. The repository is structured like so (these are some of the files):
/
index.html
list.html
manifest.webmanifest
README.md
images/
icons-192.png
icons-512.png
icons-vector.svg
See log below for the relevant part of the build log. The files it is having issues with are not a part of my repository. Every html file starts off similarly to this:
So I know for a fact that these errors are not relevant to me. I'm not sure what it is referring to.
Log
10:23:26 AM: 1. netlify-plugin-a11y (onPostBuild event)
10:23:26 AM: ────────────────────────────────────────────────────────────────
10:23:26 AM:
10:23:40 AM: [ (../../..)] error 1: A title should be provided for the document, using a non-empty title element in the head section. (<head><script>start("/");</script>
10:23:40 AM: <s...</head>)
10:23:40 AM: [ (../../..)] error 1: The html element should have a lang or xml:lang attribute which describes the language of the document. (<html><head><script>start("/");</scri...</html>)
10:23:40 AM: [ (../../..)] error 1: A title should be provided for the document, using a non-empty title element in the head section. (<head><script>start("/");</script>
10:23:40 AM: <s...</head>)
10:23:40 AM: [ (../../..)] error 1: The html element should have a lang or xml:lang attribute which describes the language of the document. (<html><head><script>start("/");</scri...</html>)
10:23:40 AM: [ (../../..)] error 1: A title should be provided for the document, using a non-empty title element in the head section. (<head><script>start("/");</script>
10:23:40 AM: <s...</head>)
10:23:40 AM: [ (../../..)] error 1: The html element should have a lang or xml:lang attribute which describes the language of the document. (<html><head><script>start("/");</scri...</html>)
10:23:40 AM: [ (../../..)] error 1: A title should be provided for the document, using a non-empty title element in the head section. (<head><script>start("/");</script>
10:23:40 AM: <s...</head>)
10:23:40 AM: [ (../../..)] error 1: The html element should have a lang or xml:lang attribute which describes the language of the document. (<html><head><script>start("/");</scri...</html>)
10:23:40 AM:
10:23:40 AM: Plugin "netlify-plugin-a11y" failed
10:23:40 AM: ────────────────────────────────────────────────────────────────
10:23:40 AM:
10:23:40 AM: Error message
10:23:40 AM: Error: 8 accessibility issues found! Please fix.
10:23:40 AM:
10:23:40 AM: Plugin details
10:23:40 AM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
10:23:40 AM: Package: netlify-plugin-a11y
10:23:40 AM: Version: 0.0.12
10:23:40 AM: Repository: git+https://github.com/sw-yx/netlify-plugin-a11y.git
10:23:40 AM: npm link: https://www.npmjs.com/package/netlify-plugin-a11y
10:23:40 AM: Report issues: https://github.com/sw-yx/netlify-plugin-a11y/issues
10:23:40 AM:
10:23:40 AM: Error location
10:23:40 AM: In "onPostBuild" event in "netlify-plugin-a11y" from netlify.toml
10:23:40 AM:
10:23:40 AM: Resolved config
10:23:40 AM: build:
10:23:40 AM: publish: /opt/build/repo
10:23:40 AM: publishOrigin: ui
10:23:40 AM: plugins:
10:23:40 AM: - inputs: {}
10:23:40 AM: origin: config
10:23:40 AM: package: netlify-plugin-a11y
Expected behavior
Should only check pages within repository.
Desktop (please complete the following information):
- OS: Windows 10
- Browser: Brave
- Version: 1.46.144 (Chromium: 108.0.5359.128)
The text was updated successfully, but these errors were encountered:
Describe the bug
I installed this plugin on a site that has no build process, just hosts static files. The repository is structured like so (these are some of the files):
See log below for the relevant part of the build log. The files it is having issues with are not a part of my repository. Every html file starts off similarly to this:
So I know for a fact that these errors are not relevant to me. I'm not sure what it is referring to.
Log
Expected behavior
Should only check pages within repository.
Desktop (please complete the following information):
- OS: Windows 10
- Browser: Brave
- Version: 1.46.144 (Chromium: 108.0.5359.128)
The text was updated successfully, but these errors were encountered: