mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-12 19:49:59 +05:00
add aria-label to share link textbox
This commit is contained in:
parent
81f37a36f8
commit
1a7f042080
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user