Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad value “handheld, only screen and (max-device-width:640px)” for attribute “media” on element “link”: The media “handheld” has been deprecated #14

Open
davorpa opened this issue Nov 28, 2021 · 0 comments

Comments

@davorpa
Copy link

davorpa commented Nov 28, 2021

As it can see in logs, the CI environment fails due to tests performed by script/validate-html over index.md.

Run script/cibuild
Configuration file: /home/runner/work/github-pages-themes-merlot/github-pages-themes-merlot/_config.yml
 Theme Config file: /home/runner/work/github-pages-themes-merlot/github-pages-themes-merlot/_config.yml
            Source: /home/runner/work/github-pages-themes-merlot/github-pages-themes-merlot
       Destination: /home/runner/work/github-pages-themes-merlot/github-pages-themes-merlot/_site
 Incremental build: disabled. Enable with --incremental
      Generating... 
                    done in 0.251 seconds.
 Auto-regeneration: disabled. Use --watch to enable.
NOTE: nokogumbo: Using Nokogiri::HTML5 provided by Nokogiri. See sparklemotion/nokogiri/issues/2205 for more information.
Running ["ScriptCheck", "LinkCheck", "ImageCheck", "HtmlCheck"] on ["./_site"] on *.html... 


Checking 4 external links...
Ran on 2 files!


HTML-Proofer finished successfully.
Inspecting 3 files
...

3 files inspected, no offenses detected
Checking index.html...
ERROR; line 9: Bad value “handheld, only screen and (max-device-width:640px)” for attribute “media” on element “link”: The media “handheld” has been deprecated
ERROR; line 10: Bad value “handheld, only screen and (max-device-width:640px)” for attribute “media” on element “link”: The media “handheld” has been deprecated
ERROR; line 56: Element “h1” not allowed as child of element “span” in this context. (Suppressing further errors from this subtree.)
ERROR; line 57: Element “h2” not allowed as child of element “span” in this context. (Suppressing further errors from this subtree.)
Error: Process completed with exit code 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant