Audit doctype
See original GitHub issueRecommend <!DOCTYPE html>
to avoid quirks mode.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:14 (13 by maintainers)
Top Results From Across the Web
Page lacks the HTML doctype, thus triggering quirks mode
Specifying a doctype prevents the browser from switching to quirks mode, which can cause your page to render in unexpected ways.
Read more >Technology – Audit Documentation April 2020 - IFAC
AUDIT DOCUMENTATION WHEN USING AUTOMATED TOOLS AND TECHNIQUES ... results of the analysis to a format or document type (e.g., a spreadsheet or...
Read more >Document Library | Audit Reports
Date Document Title Type Report Number
03/30/1998 Kansas City Fulfillment Services Center Audit Reports RG‑MA‑98‑001
09/24/1998 Distribution of Celebrate the Century Ballots Audit Reports RG‑MA‑98‑006
09/30/1998...
Read more >Audit Processes and Procedures - NYSE
The NYSE Market Data Administration team conducts audits of NYSE market data subscribers (customers). The ... each document type and the templates used....
Read more >Remote Auditing Instructions for Auditors - CTSU
Documents uploaded to the SDP for remote auditing are assigned a document type based upon the categories within the patient case review component...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
if there’s a
document.doctype
, looks like you probably also want to check thatdocument.doctype.name
is'html'
?For this you’re going to need a gatherer and an audit. Generally the gatherer will collect the information on the doctype from the browser and the audit will do the actual correctness testing.
hreflang
is a pretty complicated audit compared to this 😃 so a better example might be themeta-description
audit.The PR for that audit (#3227) lays out pretty well how to get a gatherer and audit to work together, how to add to them to a config, unit tests needed, etc (though most of the SEO category stuff won’t be necessary…it would just go into Best Practices in the default config).
Let us know how things go!
@schalkneethling I have not implemented an audit for lighthouse yet, just a minor contribution. Would have to dig deep into this one as well, you’ve been first to answer this open issue.
I think thats more a question to regular contributors/maintainers if they assist you in a WIP PR.