CSS Can Get You in Jail – Browser renderers, now deemed criminals
The blog post discusses the legal risks of using CSS for numbering in legal documents on websites. It advises hardcoding numbers for accuracy and legal compliance, prioritizing precision over aesthetics.
Read original articleIn a blog post titled "CSS Can Get You in Jail," the author highlights the potential legal risks of using CSS to display legal documents on a web page. While front-end developers may be inclined to use CSS for formatting, relying on CSS for numbering in documents like Terms and Conditions can lead to serious issues. The unique identifiers provided by numbering are crucial for legal accuracy, and any discrepancies caused by CSS rendering can invalidate the document. The post warns against depending on browser rendering engines, citing past issues with browsers like Internet Explorer and Chromium. To ensure legal compliance, the author suggests hardcoding numbers in legal documents rather than using CSS for display. The ideal solution proposed involves providing lawyers with a rich text editor for content creation and rendering the document with hardcoded numbers for accuracy checks. Ultimately, the post emphasizes the importance of prioritizing legal accuracy over aesthetic presentation when dealing with legal documents on the web.
Related
Contracts aren't programming languages. Lawyers make mistakes. There's a process to handle this.
https://en.wikipedia.org/wiki/Rectification_(law) tells me "Rectification is a remedy whereby a court orders a change in a written document to reflect what it ought to have said in the first place" as the term in English law, and says "In the United States, the remedy is commonly referred to as reformation."
https://www.lexology.com/library/detail.aspx?g=9c7749da-c692... gives an example for Australia: "A Court will correct missing words or incorrect clause numbers in a contract because these are obvious errors."
Furthermore, contract law is not criminal law.
Any automation tool could result in a regression which may generate invalid numbering. At any rate, I doubt a court would ignore mens rea.