Accessibility improvement, title for popup close button
Apparently it read as "times" in screen readers.
This commit is contained in:
parent
ad3b62cf2f
commit
d6e56924fe
@ -771,7 +771,7 @@ var SN = { // StatusNet
|
|||||||
|
|
||||||
form
|
form
|
||||||
.addClass('dialogbox')
|
.addClass('dialogbox')
|
||||||
.append('<button class="close">×</button>')
|
.append('<button class="close" title="' + SN.msg('popup_close_button') + '">×</button>')
|
||||||
.closest('.notice-options')
|
.closest('.notice-options')
|
||||||
.addClass('opaque');
|
.addClass('opaque');
|
||||||
|
|
||||||
|
@ -460,6 +460,7 @@ class Action extends HTMLOutputter // lawsuit
|
|||||||
|
|
||||||
// TRANS: Localized tooltip for '...' expansion button on overlong remote messages.
|
// TRANS: Localized tooltip for '...' expansion button on overlong remote messages.
|
||||||
$messages['showmore_tooltip'] = _m('TOOLTIP', 'Show more');
|
$messages['showmore_tooltip'] = _m('TOOLTIP', 'Show more');
|
||||||
|
$messages['popup_close_button'] = _m('TOOLTIP', 'Close popup');
|
||||||
|
|
||||||
$messages = array_merge($messages, $this->getScriptMessages());
|
$messages = array_merge($messages, $this->getScriptMessages());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user