3 ms·
That's kind of ridiculous. If it actually was true, that accessibility is not only an important concern when designing a website, but the singular overriding co
by marginalia_nu 4y ago
That's kind of ridiculous. If it actually was true, that accessibility is not only an important concern when designing a website, but the singular overriding concern, then surely all websites ought to consist of a blank page with code like
<html/>
That's the most accessible website in the world. You can print it without paper, character encoding is no issue, RTL is no issue, you can see it when you are blind, you can listen to it spoken without connecting your headphones, even if you are deaf you can hear it spoken, it's printed in braille on the screen (or any flat surface), it works in all languages spoken and written and sign language. It really is the pinnacle of accessibility. It's even available in dead languages such as Linear A and Etruscan. Every website with any sort of content is strictly less accessible than this website (which also is as utterly useless as it is accessible).
- chrismorgan 4y agoJust to take a ridiculous idea seriously, because it’s fun⸺ The minimal “valid” HTML page is actually this: <!DOCTYPE html> … though it’s only valid in contexts that don’t require an in-document title, such as email text/html parts (the Subject header from the MIME message is used) or frames (no title is needed); for a top-level page in a web browser, to be “valid” it needs a non-empty title, such as <!DOCTYPE html><title>x</title> In both of these, the <html> open and close tag are omitted, as they’re both optional in HTML syntax. If you’re not caring about validity or quirks mode, then you might as well just serve a zero-byte text/html body. As for XML syntax which you seem to have tried to use, <html/> wouldn’t be a valid HTML document because you haven’t used the http://www.w3.org/1999/xhtml http://www.w3.org/1999/xhtml namespace.
- marginalia_nu 4y agoEh, my example renders perfectly well in every browser.
- xigoi 4y agoSo does a completely empty file.