]> Sergey Matveev's repositories - public-inbox.git/commitdiff
doc: design_www: more accessibility guidelines
authorEric Wong <e@80x24.org>
Fri, 4 Sep 2015 02:18:05 +0000 (02:18 +0000)
committerEric Wong <e@80x24.org>
Fri, 4 Sep 2015 02:18:56 +0000 (02:18 +0000)
Despite best intentions, things like strike-throughs and italics
won't render well and will harm accessibility.

Documentation/design_www.txt

index b73a79875b57d71782ac77ed4250fb32d6302a38..87631840e0806a9fc80c32de7fbae61a86c4ebae 100644 (file)
@@ -59,6 +59,16 @@ variable-width fonts.
 
 * No setting colors or font sizes, power to users to decide those.
 
+* Only one font type (fixed or variable) per page.  This is for
+  accessibility, we must not blow certain elements out-of-proportion
+  when a reader increases font size.
+
+* Bold and underline elements are OK since they should render fine
+  regardless of chosen font and gracefully degrade if a display does
+  not support them.  Italics and strike-through elements must be
+  avoided as they do not render well with some displays or user-chosen
+  fonts.
+
 * No JavaScript. JS is historically too buggy and insecure, and we will
   never expect our readers to do either of the following:
   a) read and audit all our code for on every single page load