mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Fixed a11y; span instead of a div
Signed-off-by: Marin Treselj <marin@pixelipo.com>
This commit is contained in:
parent
9998700e7c
commit
2ff2d4f104
1 changed files with 1 additions and 1 deletions
|
|
@ -207,7 +207,7 @@ OC.Share = _.extend(OC.Share || {}, {
|
|||
var parts = this._REMOTE_OWNER_REGEXP.exec(remoteAddress);
|
||||
if (!parts) {
|
||||
// display as is, most likely to be a simple owner name
|
||||
return '<div class="avatar" data-userName="' + escapeHTML(remoteAddress) + '" title="' + t('core', 'Shared by') + ' ' + escapeHTML(remoteAddress) + '"></div>';
|
||||
return '<span class="avatar icon" data-userName="' + escapeHTML(remoteAddress) + '" title="' + t('core', 'Shared by') + ' ' + escapeHTML(remoteAddress) + '"></span><span class="hidden-visually">' + t('core', 'Shared by {recipient}', {recipient: escapeHTML(remoteAddress)}) + '</span>';
|
||||
}
|
||||
|
||||
var userName = parts[1];
|
||||
|
|
|
|||
Loading…
Reference in a new issue