Commit d6e56924 authored by mmn's avatar mmn

Accessibility improvement, title for popup close button

Apparently it read as "times" in screen readers.
parent ad3b62cf
......@@ -771,7 +771,7 @@ var SN = { // StatusNet
form
.addClass('dialogbox')
.append('<button class="close">&#215;</button>')
.append('<button class="close" title="' + SN.msg('popup_close_button') + '">&#215;</button>')
.closest('.notice-options')
.addClass('opaque');
......
......@@ -460,6 +460,7 @@ class Action extends HTMLOutputter // lawsuit
// TRANS: Localized tooltip for '...' expansion button on overlong remote messages.
$messages['showmore_tooltip'] = _m('TOOLTIP', 'Show more');
$messages['popup_close_button'] = _m('TOOLTIP', 'Close popup');
$messages = array_merge($messages, $this->getScriptMessages());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment