From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id UNHZE01CgGT+DgEASxT56A (envelope-from ) for ; Wed, 07 Jun 2023 10:39:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id SBrVE01CgGTeegAA9RJhRA (envelope-from ) for ; Wed, 07 Jun 2023 10:39:41 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EEF6B28428 for ; Wed, 7 Jun 2023 10:39:40 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q6ohJ-00040C-HZ; Wed, 07 Jun 2023 04:39:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q6ohI-0003xm-1M for emacs-orgmode@gnu.org; Wed, 07 Jun 2023 04:39:16 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q6ohG-00047U-1W for emacs-orgmode@gnu.org; Wed, 07 Jun 2023 04:39:15 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id A936A240101 for ; Wed, 7 Jun 2023 10:39:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1686127151; bh=6lcFujg0Qh9f2D+uxhVYe3GlnZzXaQId86VFG4tMY68=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=pOZ3GhlyMmX43TGv1MmIUYCLaGky5rq+yHrSjSDce4pPOk+8R185gnYpl+xHtotVi tgq6JYPlbk/IRPFgoflvNHcF92UZO9M/4JdZdW7Q6PJN3B0woR5siNK2tuHKdfHn/L sNH5iKr5BiJjnFKwy5WybMzaYhfzVJO/WoRXf7/prs28aOncADVNMUoCeS8wTlvCCc JtD0K/+BugmjJabEIcxseIuB3o3m4TLwl97WptJQTv9E/cBNkIDoYZ77NNcJNkARrY C8LghlPSkHvUuYgVdstV60qT2ytOkZKgPtFytGPtKVHAo/ZJcgNKRlB1n2ebOtARWT JnGiS6cSg36Nw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Qbgk64qzRz9rxK; Wed, 7 Jun 2023 10:39:10 +0200 (CEST) From: Ihor Radchenko To: Christian Moe Cc: gerard.vermeulen@posteo.net, emacs-orgmode@gnu.org, Timothy , Ihor Radchenko Subject: Re: [PATCH] ox-html.el: add option to embed SVG for CSS support in SVG In-Reply-To: <87edmoifqn.fsf@christianmoe.com> References: <871qip3u90.fsf@localhost> <87fs74j4la.fsf@christianmoe.com> <65d386e8c274e9703b80f2a2fefbcb7f@posteo.net> <87edmoifqn.fsf@christianmoe.com> Date: Wed, 07 Jun 2023 08:43:56 +0000 Message-ID: <87a5xbek6r.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1686127181; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=omnZAnaMcB/Tzh33+SP18lVmMiR/eTfagohBgswYIe0=; b=CFvUS2cKoLjxp7EE4CqAEoFs8r7dbbaPOXdTkyJs+TjPXNF/8f/2iwmrT/yMMLSabGJOJ/ 32POYpyAMcxSsRRL3uFFIIOd6hm6Afxqehcy6YT37+zEgrvk4KO3ttJmoBStDYJwOsaDBJ dmEFwJ01HoTl0O6z1ZM14ESvFQmkAZifn/YrOH7XrYgXL83voC97+nPiGI4ChSYUqA47KS oBNmReeDUWq/f6QoOL/DM/hHd3sRkm8lsi2wZE92w+rcZoy9PdWr+08XYYydsxygskMk82 Q4ciTxHNy4O9zsbHH4T0AyIVYxdVNi4n0wf2F/UAFsZSyNtIlt79CEgQgyrbCQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=pOZ3Ghly; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1686127181; a=rsa-sha256; cv=none; b=XylCwnGoQXLVYbzeij9rkZEi9LJl6VwioQ/JbtHWXJQl2V0ScAOwJthQ7Kyo+21BwSQdFE Yyad79J8aIyEYEtt8OFMEOwSbkVNHPMmyWKmJghUGOl1w9Q4JVir5Px0ZXFluge3P90a7F mBhn0eQFGPp5WjlhpQiU7hsFILO0F+dFL0Omptr2ttOuDgs90TML1rYJiC7V6xGk78MVeL EAHhbhNNTiH1+o8kAAR2Ti4nS7ASCP4HyWtruLrd0rSIQSrzrJzp+/uYpUFSLFMRIt/EEC EXQbSvqIMkR1lfsF6qHHY5MNDdoKExIaHozxvgzK4Mn1hhd2s7q4SRwTclts+w== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -6.16 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=pOZ3Ghly; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: EEF6B28428 X-Spam-Score: -6.16 X-TUID: 5WvzxyMKz1dY Christian Moe writes: > That said, I still think the better solution to the issue you raised is > for Orgmode to go back to exporting SVG links as not , not > to extract SVG file contents and embed them as SVG islands. > > (Though I may be a breaking change for some users. In particular, > because OBJECT does not have an ALT attribute, but uses several other > ways to provide alternative text for accessibility, users would need to > change their =#+attr_html :alt= to using :aria-label or :title > attributes, unless the Org implementation for SVG links were to handle > this smartly.) It might be ok optional feature, controlled by some #+ATTR_HTML attribute. Patches welcome. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at