add aria-label to share link textbox

This commit is contained in:
daria 2026-09-09 15:07:30 +03:00
parent 81f37a36f8
commit 1a7f042080
No known key found for this signature in database
GPG Key ID: 3B75240E6B2F2701

View File

@ -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