[rfc-i] Text in SVG diagrams

Martin Thomson <mt@lowentropy.net> Wed, 06 October 2021 23:56 UTC

Return-Path: <rfc-interest-bounces@rfc-editor.org>
X-Original-To: ietfarch-rfc-interest-archive@ietfa.amsl.com
Delivered-To: ietfarch-rfc-interest-archive@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 299663A0B63; Wed, 6 Oct 2021 16:56:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, MAILING_LIST_MULTI=-1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=lowentropy.net header.b=YjLzcIaw; dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=messagingengine.com header.b=dmlpp4ir
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id f8AtOZBWhama; Wed, 6 Oct 2021 16:56:39 -0700 (PDT)
Received: from rfc-editor.org (rfc-editor.org [IPv6:2001:1900:3001:11::31]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D49EC3A0B6B; Wed, 6 Oct 2021 16:56:38 -0700 (PDT)
Received: from rfcpa.amsl.com (localhost [IPv6:::1]) by rfc-editor.org (Postfix) with ESMTP id 49E81163333; Wed, 6 Oct 2021 16:56:38 -0700 (PDT)
X-Original-To: rfc-interest@rfc-editor.org
Delivered-To: rfc-interest@rfc-editor.org
Received: from localhost (localhost [127.0.0.1]) by rfc-editor.org (Postfix) with ESMTP id 60E9C163333 for <rfc-interest@rfc-editor.org>; Wed, 6 Oct 2021 16:56:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at rfc-editor.org
Authentication-Results: rfcpa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=lowentropy.net header.b=YjLzcIaw; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=dmlpp4ir
Received: from rfc-editor.org ([127.0.0.1]) by localhost (rfcpa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NfRKP04U7ttO for <rfc-interest@rfc-editor.org>; Wed, 6 Oct 2021 16:56:32 -0700 (PDT)
Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by rfc-editor.org (Postfix) with ESMTPS id D4E974C3C5 for <rfc-interest@rfc-editor.org>; Wed, 6 Oct 2021 16:56:32 -0700 (PDT)
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id DE01C3201C33 for <rfc-interest@rfc-editor.org>; Wed, 6 Oct 2021 19:56:26 -0400 (EDT)
Received: from imap41 ([10.202.2.91]) by compute5.internal (MEProxy); Wed, 06 Oct 2021 19:56:26 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lowentropy.net; h=mime-version:message-id:date:from:to:subject:content-type; s= fm3; bh=ze5sTMOkCiUFje1GA0ZvpwNcpm4IE1nxm+EUcq7xjFI=; b=YjLzcIaw Y0v9GVWv3BjgJM6qyMCJMZBc/7J3wvHqUzU1dxKRtSsgDVE7ogAIkS/JPCqx09+6 IXnyvsnc4vdxEUbnWnE/2D14B39dsBBRsy57swz4Kz3FeRyZyodTaJdcssKC6yvf /YftsOz8tUEIiLbbbyecxjDOhsiNDiW1muEjr5NoBpLcHEHpBss+9kX9Ad2Qe3AQ E+aPI+m1XZbp5DWL4hlSUPlxcedL/gHTVpWNrobJGZqyNX9lqjCSy6JdDOLthnzg 6AOc5m4m/I1SGdXY3jCKZT1zaPQDAQsGSRtXdPSGRmYNH1/aux8C7M8XBijD7GKk qKDRPACUFJ56xw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=ze5sTMOkCiUFje1GA0ZvpwNcpm4IE 1nxm+EUcq7xjFI=; b=dmlpp4irJWV4Cb5+HRVT7VK4b3/htbMGy/rV2mJ6w1SBa 62bILIizA8o5hTsgiy8dy3NEm9aEvbEzg73JsQIIhikWhYVq7scIIy1kU7XS0ir3 RzzlWJ6OuSQk8gEx9IhBIouhThrXbDFD7HURtVdpQpAf9x7DskEJh9THCaP5j7y7 3mVRQ5qV8CV6ViLwyPeB7X0QoWIJgMCRjQcFMwVOOmN5uU/8gBJ8wH9bxvYIHhzz pNSUNFGUwT69W/tk6npZbDyRuI6TlLjojFIe/9V9QbJp3+/xoZHvPb6grD+VgGNl Y/3dXPExk0CJV/GcVogRttxl38d7Q8WZk7IqbMJNg==
X-ME-Sender: <xms:qTdeYe8vECtUDQ3sTsg5ydowalqdjaBsxlBTHAPnBCB-F48vM4bY_Q> <xme:qTdeYes-P5t5TMfW3DTVQWlFjmayJuMvMKYOMRyo4RdnBVWs9OyZ9BluEKhR9DBK8 LZ10nUPkLQhqdvVD2g>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudeljedgvdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtsehttdertd erredtnecuhfhrohhmpedfofgrrhhtihhnucfvhhhomhhsohhnfdcuoehmtheslhhofigv nhhtrhhophihrdhnvghtqeenucggtffrrghtthgvrhhnpeefgeekgeevffduudeuffffvd ejvefhudffgeevvddvgeetueffieduheeltdfhteenucffohhmrghinheprhhftgdqvggu ihhtohhrrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepmhhtsehlohifvghnthhrohhphidrnhgvth
X-ME-Proxy: <xmx:qTdeYUBEea6d-ZVtqvN_sZt4H9b1iaMH_1kGhErRPB6evtLnfmLYAQ> <xmx:qTdeYWf71uwvcYt39mrK-XjIdiEd28YeFIHpqiOY1nZPkhYE0Ns0Ig> <xmx:qTdeYTNZn07DloXCqnwz0SPkLApOPRylNg_ZUlWYJksszErE_5GbDA> <xmx:qjdeYZYJt4XRGMVOY_ASVx6lZfH-FcHpENkU1Xx_-7qq-IcmPeYbGw>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id AD5193C0246; Wed, 6 Oct 2021 19:56:25 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.5.0-alpha0-1331-g5ae342296a-fm-20211005.001-g5ae34229
Mime-Version: 1.0
Message-Id: <bbf9c212-818f-43bf-a1a1-ad606dcacd06@www.fastmail.com>
Date: Thu, 07 Oct 2021 10:55:48 +1100
From: Martin Thomson <mt@lowentropy.net>
To: rfc-interest@rfc-editor.org
Subject: [rfc-i] Text in SVG diagrams
X-BeenThere: rfc-interest@rfc-editor.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: "A list for discussion of the RFC series and RFC Editor functions." <rfc-interest.rfc-editor.org>
List-Unsubscribe: <https://www.rfc-editor.org/mailman/options/rfc-interest>, <mailto:rfc-interest-request@rfc-editor.org?subject=unsubscribe>
List-Archive: <http://www.rfc-editor.org/pipermail/rfc-interest/>
List-Post: <mailto:rfc-interest@rfc-editor.org>
List-Help: <mailto:rfc-interest-request@rfc-editor.org?subject=help>
List-Subscribe: <https://www.rfc-editor.org/mailman/listinfo/rfc-interest>, <mailto:rfc-interest-request@rfc-editor.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: rfc-interest-bounces@rfc-editor.org
Sender: rfc-interest <rfc-interest-bounces@rfc-editor.org>

https://www.rfc-editor.org/rfc/rfc8899.html appears to use SVG quite effectively.  The diagrams really help illustrate the concepts in the document.

Lucas Pardue recently noted that appearances are not everything.  It is not possible (at least in browsers I have available to me) to search for text in these diagrams.  This is because every single character is placed separately as a distinct SVG element.

You can see the effect of this if you try to select text in any of the figures (https://www.rfc-editor.org/rfc/rfc8899.html#figure-4 is a good example).  I don't know what characters to be shuffled this way, but the effect is that text cannot be searched for or selected in any useful way.

I'm certain that this is not malice on the part of the authors or RPC, but the effect is that these diagrams are far less accessible than they could be.  Is there something we might do to improve this situation?
_______________________________________________
rfc-interest mailing list
rfc-interest@rfc-editor.org
https://www.rfc-editor.org/mailman/listinfo/rfc-interest