Re: [Rswg] SVG/ASCII art and accesibility (was: Re: Fwd: I-D Action: draft-carpenter-rswg-rfc7996-issues-00.txt)

"Martin J. Dürst" <duerst@it.aoyama.ac.jp> Mon, 10 October 2022 08:14 UTC

Return-Path: <duerst@it.aoyama.ac.jp>
X-Original-To: rswg@ietfa.amsl.com
Delivered-To: rswg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E9E69C14F743; Mon, 10 Oct 2022 01:14:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=itaoyama.onmicrosoft.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oxBrh9WPvEJi; Mon, 10 Oct 2022 01:14:49 -0700 (PDT)
Received: from JPN01-OS0-obe.outbound.protection.outlook.com (mail-os0jpn01on2132.outbound.protection.outlook.com [40.107.113.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AF5A8C14F72C; Mon, 10 Oct 2022 01:14:48 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oYVw0XLQEH6l3nvjVV4Adtu9XmhVOaS1n8DScJKt1z6w9ETtNE/qGHqTjC8F9nfDkjxN3FvaLcJdyAatkKGxJrc52tVYv5PCtyKnYCujNhx2HBaSHrPO5FapkY27qU4yd5pOL7iJ60Fu4BRTrDIOsyKRBpXb9zaI1VeGynkGcfP0Oyi9TKJcyOFFIJ8nfx0JSJw0+ivSKEjbUkpwQ5cz9m7sNF3WZDa4mpVqLQM4e4ZVySCZMwaBh36Nbx9mr//fWBlg1eRsiVwLY1tqrcxSgzJjAEFm/Z2rinFjyQoupcJdmMMQq261b5YKYxNTil6rEzlVF3Rf2WegRuqm7sMWfw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=VHkziKlZoxh0lH5S0t3n0TC8TGA684qdAYe8Hfi2u0U=; b=i+FZOoalWA/roEBbrTUgX6XhjxuF3FI+dTyyRIT+p37f0yCZ1F3zI3yo7omp7UAwlwcFseXZUeut2l6aP1an+YGtZtKOZT7U19tgKsf95Wmo5dIRhDBvTWT0aQ8OByDldEbesNhLbVwEZiwtDIs2YnePbzuOqxGrjvT7lEfZN162LbbHym4PG02TB4O99NQZzugh5wzfTdrG6axehtKrD/eukMkBnCjtSsUknEB43n4rCFNkQE6HOYjSSIzvwaXVe+NM/heum73SPgR9NBi0moDPqnMgoaBR9Ml2wg2CljbFGwcO9UdPpU+nPGQG1mR09UgH46uCXpB0s/RzjNn50Q==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=it.aoyama.ac.jp; dmarc=pass action=none header.from=it.aoyama.ac.jp; dkim=pass header.d=it.aoyama.ac.jp; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=itaoyama.onmicrosoft.com; s=selector2-itaoyama-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VHkziKlZoxh0lH5S0t3n0TC8TGA684qdAYe8Hfi2u0U=; b=qnYc4NnLwwGkomoTvotSw+HdZ/H+fCFCyHcIX9CTS9GH4Uxjqm1JyV92KTW66HXb/Rvk7X9ZHNejgBrU6tVQqziRPCKYLezwEv/FpPLzVFmrKwQfILVeIBt2YkGXN0/9Gi06PSbCLIAoM4nW6U1mE/wagdmIZL3brC5+DEg5P1E=
Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=it.aoyama.ac.jp;
Received: from TYAPR01MB5689.jpnprd01.prod.outlook.com (2603:1096:404:8053::7) by OS3PR01MB9319.jpnprd01.prod.outlook.com (2603:1096:604:1c7::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5709.15; Mon, 10 Oct 2022 08:14:44 +0000
Received: from TYAPR01MB5689.jpnprd01.prod.outlook.com ([fe80::e026:5b14:9c36:a121]) by TYAPR01MB5689.jpnprd01.prod.outlook.com ([fe80::e026:5b14:9c36:a121%4]) with mapi id 15.20.5709.015; Mon, 10 Oct 2022 08:14:44 +0000
Message-ID: <6fff4305-71f3-8d21-1f25-86fc01c56dd8@it.aoyama.ac.jp>
Date: Mon, 10 Oct 2022 17:14:41 +0900
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.3.2
Content-Language: en-US
To: Jean Mahoney <jmahoney@amsl.com>, Brian E Carpenter <brian.e.carpenter@gmail.com>, Alexis Rossi <rsce@rfc-editor.org>
Cc: rswg@rfc-editor.org
References: <20220922183747.5EC6A4AE593E@ary.qy> <2691aee2-9e47-d8a0-d13a-559e410d2be7@it.aoyama.ac.jp> <90d3bb18-46f5-70a9-31ae-332f929bf432@gmail.com> <155f037f-e61a-c338-5369-2448735d55e4@it.aoyama.ac.jp> <7D5C2144-A7C4-4719-A42E-0181E4171066@rfc-editor.org> <b98713f4-a068-8c85-64c2-0008d5e838f9@it.aoyama.ac.jp> <30FCA904-7993-45C7-B9E2-DC025F5DBA12@rfc-editor.org> <fdb7ab37-895f-076c-e48b-895571fe3f91@it.aoyama.ac.jp> <bf3a6631-494f-fa95-e2e1-37d084c2abbb@amsl.com> <33064e81-00c7-9d1b-27bb-1ace32c7c1ff@gmail.com> <2c11dedd-d055-ec3b-04be-933453523feb@amsl.com>
From: "Martin J. Dürst" <duerst@it.aoyama.ac.jp>
Organization: Aoyama Gakuin University
In-Reply-To: <2c11dedd-d055-ec3b-04be-933453523feb@amsl.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
X-ClientProxiedBy: TYAPR01CA0130.jpnprd01.prod.outlook.com (2603:1096:404:2d::22) To TYAPR01MB5689.jpnprd01.prod.outlook.com (2603:1096:404:8053::7)
MIME-Version: 1.0
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: TYAPR01MB5689:EE_|OS3PR01MB9319:EE_
X-MS-Office365-Filtering-Correlation-Id: 0d3dd5da-44b2-468a-4fd5-08daaa977d0e
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: U1uivIMNs7TEghzEcAWidHmFm5lITufFsBFxhAjqyB01eQR1KpaJ21NTImgMAC/OQZ0yG5g286j2w1A8D9SxJvHAsbpz+Z+SwwrI/4EGDHCnrVHICn1PRiIx3fnWvBrr+wNoV1SB3cTnuUuj/kwckMLV3txKHU4a5CvnX6bDoxu5nXhBcNLMLIQsiTmJZ6FwDq33YQ7FX/OanEhGekOhixcavHa5tu5dD/IT2i3SRnkRbFxy8kAhU6A4qHV+dHMrfdQUVn0Nb6JoYugBw2HFWDrA7vDt8F8sZzFKBB4WVzi7w9bXcjpqMyWNh3i2zBwlHOog8VmuF+/tqLGHM0oBAgqiHt/FzqEhrY5Kka8wHP4b2SLNIrO7lhQqIQkx4eGdVaxflnZQrarKr6v9s+y73Q5OdYL0z67HovQujxqVQYW3fJYRAcrwFxdYUdpo8XZQjTwA+I0YBPT1L3U90tgiGm6VA4OzaP1jLNkej/+4UpHdwxcW4msRZi0n0Uh8SyB46LETUXc7CL8b3jUApIw9cGyvojSVpHJPFshDvL7xQXT07LJCXakfd0PV1zW7ZylN/O8J903EOv1KdY/DcgQa9evHf7i3Ms+CibODK74pj5GzzJZ6GqmCa7hCyD4LLpuAf0C4vREaktr9LwX8DUCOdKhKQo4lFGs8WnuTDVmstYTYgG8kOWc0O2Kummn+7P5VLM1B8haeI5fjZ6uNwqksrEI24fWOYrhAuHeluujPp3IfUPhbXicqOXx6/Vy3clA5UvdXpqfBiZMYy1CxLilcxB7LpodelG1d27n+j6ul0iZQlopCZxFdJ5uj4OgTUnk8/K5d2sQ29hgh6LPC802a3bm6joVErOJve1+7hscCuYQ=
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:TYAPR01MB5689.jpnprd01.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(366004)(396003)(376002)(39850400004)(136003)(346002)(451199015)(110136005)(66946007)(4326008)(8676002)(8936002)(41300700001)(31686004)(316002)(786003)(5660300002)(66476007)(6666004)(2906002)(478600001)(6486002)(6512007)(966005)(26005)(36916002)(53546011)(186003)(66556008)(6506007)(38350700002)(41320700001)(31696002)(52116002)(38100700002)(2616005)(86362001)(66574015)(83380400001)(45980500001)(43740500002); DIR:OUT; SFP:1102;
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: FLYv6oUnmRwYKq71IXntacIiJtUkBlhhxPtrXg6/aXdcDqqnD2JeksO0t/BHlJ22musmu/DYqOKZJ2xQnhD1BIGnc+hBJmPCkJZhA5kv9aJnPaf8/GbzrtdbeR/usJVMQQiG4DK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IItojyBshX6qPl5fqHlDCynOSXSmEl0Wlbf3jOWmoJxdlzXesCyZCP1r3gLbMeZf0XHdUoet7xiWRK51U6QwKIi1hSt4EjFlyMRt+dGaKtMeDgwOFJIpNfcu0L77RLpu1/cpj+A/dBw+odmBc//dbXqK/1wdGuEepKPXyPDkldG2h2waDcUZN/mqxMHjyjZ9CPmNw/GF/vjyEn3DtH5/Fqo+MzGoRTwlY1j+YcQdJtqpbJaz8DSGucGHSEwE0jYpZ6gTmCktQVuyuX2HRxggXzcEUJ4/9Kyadr88r7/V9FJXCz6NNo+/pe/6owTuqlnN7PhrijjU6N1/EECp1OwVo6C1krV707hjODSe4kH1kbvBQ3149hG9FiTl8/5dUampU7PaUecnhMmqsoBq+OJJ48ulQ8Q==
X-OriginatorOrg: it.aoyama.ac.jp
X-MS-Exchange-CrossTenant-Network-Message-Id: 0d3dd5da-44b2-468a-4fd5-08daaa977d0e
X-MS-Exchange-CrossTenant-AuthSource: TYAPR01MB5689.jpnprd01.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Oct 2022 08:14:44.2001 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: e02030e7-4d45-463e-a968-0290e738c18e
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: cKGuhEycjlCqk5qn1vlJxg3Z8Do894iWfgHg9+msZCKoIQA4MVfZrRHxDDjrapocLmBkX7+dU4NdQ2XVPItnqQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: OS3PR01MB9319
Archived-At: <https://mailarchive.ietf.org/arch/msg/rswg/iaxaeHhOYsDzZNqKghDKHJy_ntM>
Subject: Re: [Rswg] SVG/ASCII art and accesibility (was: Re: Fwd: I-D Action: draft-carpenter-rswg-rfc7996-issues-00.txt)
X-BeenThere: rswg@rfc-editor.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "RFC Series Working Group \(RSWG\)" <rswg.rfc-editor.org>
List-Unsubscribe: <https://mailman.rfc-editor.org/mailman/options/rswg>, <mailto:rswg-request@rfc-editor.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rswg/>
List-Post: <mailto:rswg@rfc-editor.org>
List-Help: <mailto:rswg-request@rfc-editor.org?subject=help>
List-Subscribe: <https://mailman.rfc-editor.org/mailman/listinfo/rswg>, <mailto:rswg-request@rfc-editor.org?subject=subscribe>
X-List-Received-Date: Mon, 10 Oct 2022 08:14:53 -0000

Hello Jean, Alexis, Brian,

On 2022-10-09 01:21, Jean Mahoney wrote:
> Hi Brian,
> 
> On 10/7/22 6:17 PM, Brian E Carpenter wrote:
>> Jean,
>>
>> On 08-Oct-22 10:55, Jean Mahoney wrote:
>>
>> <snip>
>>
>>> [JM] Repeating here the comment that I've added to issue #20 
>>> (https://github.com/rfcseries-wg/new-topics/issues/20):
>>>
>>> The RPC is updating its procedure for checking artwork to include 
>>> reviewing the contents of the SVG <desc> and <title> elements and the 
>>> <artwork alt=""/> attribute (when xml2rfc supports it. Issue opened: 
>>> ietf-tools/xml2rfc#898 
>>> <https://github.com/ietf-tools/xml2rfc/issues/898>). If the artwork 
>>> lacks an accessible description, during AUTH48 the editor will ask 
>>> the authors to please provide text. We will also update the Online 
>>> Portion of the Style Guide to recommend to authors that they provide 
>>> descriptive text for artwork. rfc7322bis 
>>> <https://datatracker.ietf.org/doc/html/draft-flanagan-7322bis-07#section-3.7> already captures a recommendation regarding artwork accessibility.

Many thanks for this; I think this is the best way to proceed because it 
has the lowest overhead.

>> That's excellent, of course. But I still lack
>>
>> a) any drawing tool for SVG that supports <desc>;
> [JM] Ack. I've manually inserted <desc> into SVG embedded in RFCXML, and 
> it works (that is, the contents appear in the HTML output), but it would 
> be good to identify drawing tools that support <desc>.

Just a sample of one:
Inkscape would do that, under Object -> Object Properties -> 
Description. But then, Inkscape doesn't produce clean SVG.

Personally, I'd probably go with just adding the <desc>s by hand in the 
markup, which to me looks faster than selecting submenus over and over. 
But I understand that may not be for everybody.

>> b) any simple way of testing whether a <desc> or <artwork alt=""/> 
>> actually works with a screen reader in the html rendering;
> [JM] I'm also looking for a good screen reader or browser plugin to test 
> these things. Anyone have suggestions?

As far as I'm aware, for English at least, the commercial option for 
Windows is JAWS 
(https://www.freedomscientific.com/products/software/jaws/). On Windows, 
there is also a built-in screen reader called Narrator. The open source 
screen reader for Windows most widely used is NVDA. Mac has VoiceOver 
built in. For Android, it's TalkBack.

There are two problems to be aware of:
1) Screen readers can be expensive for the occasional try, because it's 
a small market and those who really need a screen reader (or their 
companies) are ready to pay a decent price.
2) Screen readers have a very steep learning curve. Interaction mostly 
happens with a large number of Ctrl/Alt/Fn/... key combinations. The 
default settings may not be the ones you prefer, and you may not know 
which settings you would prefer, anyway. A screen reader may start to 
talk, and be difficult to stop, or may stop, and be difficult to start 
again. It may be best to use two computers, one with the manual and 
another with the screen reader, because otherwise, the screen reader 
will start to read the manual whenever you want to check something in 
the manual.

https://weboverhauls.github.io/demos/svg/ shows tests for some relevant 
combinations of SVG elements, ARIA attributes, browsers, and screen 
readers, although it is quite a bit outdated.

>> c) a good example of a well annotated diagram in xml2rfcv3-conforming 
>> xml.
> [JM] And this would be good to capture on authors.ietf.org. I've added a 
> comment to Issue #42 (https://github.com/ietf/authors.ietf.org/issues/42).

I suggest we start with the diagram in Brian's RFC for which I wrote 
some descriptive text (which may need some further tweaks). The problem 
with that is that the text isn't in the actual published RFC.

Another idea is to wait for the next RFC to be published that includes a 
diagram (maybe there are one or more already in the pipeline). The tests 
linked to above also shows we might need to check out some parts of ARIA.

We may definitely need to reach out to screen reader users and 
accessibility experts. I can try to help with contacting somebody at W3C.

Regards,   Martin.

> Thanks!
> Jean
> 
>>
>> The third one is probably the most important of all.
>>
>> Regards
>>     Brian
>>
>>