From 1a7f042080ff8daafd38cc7975e2b8234456bd51 Mon Sep 17 00:00:00 2001 From: daria <95225431+dariiing@users.noreply.github.com> Date: Wed, 9 Sep 2026 15:07:30 +0300 Subject: [PATCH] add aria-label to share link textbox --- www/common/inner/share.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/common/inner/share.js b/www/common/inner/share.js index f9331c9f7..0be106117 100644 --- a/www/common/inner/share.js +++ b/www/common/inner/share.js @@ -380,7 +380,7 @@ define([ if (opts.static) { linkContent = []; } linkContent.push(h('div.cp-spacer')); - linkContent.push(UI.dialog.selectableArea('', { id: 'cp-share-link-preview', tabindex: 0, rows:3})); + linkContent.push(UI.dialog.selectableArea('', { id: 'cp-share-link-preview', 'aria-label': Messages.share_linkCopy, tabindex: 0, rows:3})); // Show alert if the pad is password protected if (opts.hasPassword) { @@ -542,7 +542,7 @@ define([ var embedContent = [ h('p', Messages.viewEmbedTag), - UI.dialog.selectableArea(opts.getEmbedValue(), { id: 'cp-embed-link-preview', tabindex: 0, rows: 3}) + UI.dialog.selectableArea(opts.getEmbedValue(), { id: 'cp-embed-link-preview', 'aria-label': Messages.share_linkCopy, tabindex: 0, rows: 3}) ]; // Show alert if the pad is password protected