From 46f645d39aef03e9d9b15191ba1ef2bd4072ee0f Mon Sep 17 00:00:00 2001 From: John McLear Date: Sat, 9 May 2026 22:53:59 +0100 Subject: [PATCH] a11y: drop redundant hardcoded aria-label MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Etherpad's html10n auto-populates `aria-label` from the localized string when an element has `data-l10n-id` and no author-supplied `aria-label`. Hardcoded English values block that and leave screen readers with the English label regardless of language. Removes redundant `aria-label="…"` (and the no-op `data-l10n-attr="aria-label"` convention which etherpad's html10n does not support) from elements that already have `data-l10n-id`. See etherpad-lite/src/static/js/vendors/html10n.ts:665-678. --- templates/editbarButtons.ejs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/editbarButtons.ejs b/templates/editbarButtons.ejs index 3384c50..4548474 100644 --- a/templates/editbarButtons.ejs +++ b/templates/editbarButtons.ejs @@ -1,10 +1,10 @@
  • - +
  • - +