Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1orydS-0006ia-1E for pgsql-docs@arkaria.postgresql.org; Mon, 07 Nov 2022 09:41:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1orydP-0000vh-PL for pgsql-docs@arkaria.postgresql.org; Mon, 07 Nov 2022 09:41:39 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1orydO-0000vY-RC for pgsql-docs@lists.postgresql.org; Mon, 07 Nov 2022 09:41:39 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1orydL-00083v-Kr for pgsql-docs@lists.postgresql.org; Mon, 07 Nov 2022 09:41:37 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 509BA32009AD; Mon, 7 Nov 2022 04:41:32 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Mon, 07 Nov 2022 04:41:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:reply-to:sender :subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; t=1667814091; x=1667900491; bh=B MWi15ZJRwLq2dD+aI//SGjiZt1bVvXDn3oY//gqlNQ=; b=sdFqZTIbcEk5Afexk 1+ZjGIhLsHdou4pb13tWxMxCMYwVrR5wFacwk/eGhsOGGWDXSvudFRnKwtSbeFtW mR5ZqArE7qAfHzQxnQw3sv3W3I1H2Rd8UrmfH/oi6F3NFM9qEdJzzdJyBNFBH/Cl QVs7U6Kv5ABajsO4O9oCgPumw0m9muOrTulawCel70i8OVCcRvkG1l2wN30yJEmP eCoqd1jjuqtYkyHds4AT/XQV+q9Y42OWZ5uZEqrb+8X/FPklLzqOkSNCkFTzf6OJ AaLQjfSkwB9aTYYlZEqWE/Fcpkge1NHbmUbYY+clnuweiE18FEhwm7YShkbGUNTT 6uo+A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrvdekgddtiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvvefukfggtggugfgjsehtkeertddttdejnecuhfhrohhmpeetlhhvrghr ohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgqe enucggtffrrghtthgvrhhnpedvkedtffduffdtffffheffhfejjefhgfeiueeukeejkeff gfdufffhudffffeuveenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtohhmne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhh vghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 7 Nov 2022 04:41:31 -0500 (EST) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 48C2740B; Mon, 7 Nov 2022 10:41:21 +0100 (CET) Date: Mon, 7 Nov 2022 10:41:21 +0100 From: Alvaro Herrera To: Niels Bom Cc: "Jonathan S. Katz" , pgsql-docs@lists.postgresql.org Subject: Re: Usability ideas: text width and headers that are links Message-ID: <20221107094121.q6abfsap2fpgbp4x@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2022-Oct-21, Niels Bom wrote: > Setting a max-width on regular textual content is good for > readability, which in turn increases accessibility. See this W3C a11y > documentation (1) and an a11y page by the US government (2) for more > detailed info. > > Using the CSS max-width property makes narrower sizes possible (for > smaller screens) but sets an upper limit. The newer `ch` unit in CSS > is a good-enough approximation of the average width of a character. > I've seen 66ch as the "ideal" width for regular text. For the docs > code examples need to have enough width too of course. But we can have > those be wider than their containing element if need be. +1 for this idea. (I often open multiple windows just so that I end up with the right width in the one containing text to read, as a substitute for this.) This should definitely only apply to running text, not code examples, synopses, tables, etc; otherwise it's going to be *very* bothersome. -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/ #error "Operator lives in the wrong universe" ("Use of cookies in real-time system development", M. Gleixner, M. Mc Guire)