From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-3.7 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id CF9041F47C for ; Thu, 12 Jan 2023 23:55:45 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=dGuV7uxy; dkim-atps=neutral Received: by mail-ej1-x62b.google.com with SMTP id v6so5594968ejg.6 for ; Thu, 12 Jan 2023 15:55:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:content-language:to:subject:from :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=t+zcS11TWUuDzgvPAUKtLA9ndMHKdQoqAnymAG43Fio=; b=dGuV7uxyznVCUOzLwFM6pU1JetpUNPZmIrYJZ5XdhCpkuSNiRW/BK15P7Qh83SR7on xcQd9Cn36XHd8QO3xnKLz92ppNcjHaM/0jWXmRq+S8FC47GTqKdCv1gnmRz3VHhX/6hT 2CnjfEpK1cFfqXvUhYU+uB0xikxKqEATd5zolkc17HZzbU5/TYqcq+eAzGBbIgmCCd91 6kWSj0qLc5ejFJ5iIe95t+0H6Hv743ZAGhaxS/6kiNPF888eDqOwGA0ru6X1RkP89UGf uBhuw7VIXdf5Jj+y/AICDJvjJUEM/81IVir2s8dcG6ali9vPc2Fk1uwYQBTOpPVp50W2 Qafg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:content-language:to:subject:from :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=t+zcS11TWUuDzgvPAUKtLA9ndMHKdQoqAnymAG43Fio=; b=ilWtN3M/4Y1bqG3Rg0cqYR5D0TF8Pygn30M5Hz/9XG/EAZouaObcB8p9BkGwO7rQoJ 4IjTyblDlnjOFE4ekx4CcZ8QAipA2e3/29KuzBp1+T2x69GOkg5+Vy9Em6hF6qTuGpin ExYDZR6n1rKWpiH9fW0zvzWr5VYvnjWaBd0kQpp0zIN3WL8w4geTgjnZD3sLlj+1t5dq nCphSrSuWpLWbjsqgn1qxA2NaMMiCIET480pKl57SB3u42itlXQHoe2bdvEqb/l61/bA d/+ZFD90YMLEsMyiEYzvZ2dtR+0ILjAM892xQLnA+jVmHdrFphkApc6Z1Q0JU2o1C0FJ P8GQ== X-Gm-Message-State: AFqh2krVS+Ua6uzwo876hapUrgbHts4fjSnfigwQ1+Zi+j7geXAiIij0 zF9B8np8ox3V4XZ5rE9tbhW7SsGYiQ5828IkPYI= X-Google-Smtp-Source: AMrXdXstwFokePLujX9oyGsPa+9KenLnJmswmyWutem71Ic9cwjmhPLvKqe10Bi7G08L9f24RMb8Gw== X-Received: by 2002:a17:907:a705:b0:7bd:ece7:ae66 with SMTP id vw5-20020a170907a70500b007bdece7ae66mr72840596ejc.34.1673567742970; Thu, 12 Jan 2023 15:55:42 -0800 (PST) Received: from [10.18.18.215] ([216.24.213.24]) by smtp.gmail.com with ESMTPSA id b17-20020a1709063cb100b0079e11b8e891sm7868946ejh.125.2023.01.12.15.55.42 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 12 Jan 2023 15:55:42 -0800 (PST) Message-ID: Date: Fri, 13 Jan 2023 00:55:40 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 From: Andrei Rybak Subject: Accesskeys for keyboard navigation To: meta@public-inbox.org Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: Hello, First of all, thank you for developing and maintaining public-inbox. I'm a frequent user of accesskeys [1] so I've written a user script [2] to add them to some links on websites running public-inbox. The user script is available via Greasy Fork, a website for hosting user scripts: https://greasyfork.org/en/scripts/458141-accesskeys-for-public-inbox So far, five keys are supported: - z – go from viewing a thread to the list of threads, i.e. "go to the front page". Using key "z" for this is borrowed from MediaWiki. - s – place cursor in the search text field. - f – go to the "flat" thread view. Useful for going from an individual email to the thread. - n – go to the "nested" thread view. - t – jump to the "thread overview" at the bottom of threads. You can then use tab and shift+tab to select the email to jump to and enter to jump to the email in the thread. Any feedback, especially ideas for other uses of accesskey on public-inbox websites would be appreciated. [1] see https://en.wikipedia.org/wiki/Access_key and https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/accesskey [2] https://en.wikipedia.org/wiki/Userscript P.S. I've looked at source code of public-inbox to try adding support for accesskeys natively, but my Perl knowledge is very limited, so I decided against trying to implement it on my own for a patch. -- Best regards, Andrei R.