Bug 287739. All message bar buttons need mnemonics otherwise they are very difficult to discover and activate for screen reader users. Patch thanks to Peter Parente (parente@cs.unc.edu). r=mconnor, a=asa

This commit is contained in:
aaronleventhal%moonset.net 2007-08-22 05:03:36 +00:00
Родитель 357f38ae7f
Коммит 4aae745e5c
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -23,6 +23,7 @@
- Contributor(s):
- David Hyatt <hyatt@netscape.com> (Original Author of <tabbrowser>)
- Mike Connor <mconnor@steelgryphon.com>
- Peter Parente <parente@cs.unc.edu>
-
- Alternatively, the contents of this file may be used under the terms of
- either the GNU General Public License Version 2 or later (the "GPL"), or
@ -222,6 +223,7 @@
<parameter name="aIconURL"/>
<parameter name="aMessage"/>
<parameter name="aButtonLabel"/>
<parameter name="aButtonAccesskey"/>
<parameter name="aDocShell"/>
<parameter name="aSource"/>
<parameter name="aPopup"/>
@ -233,6 +235,7 @@
message.image = aIconURL;
message.text = aMessage;
message.buttonText = aButtonLabel;
message.buttonAccesskey = aButtonAccesskey;
message.hidden = false;
if (aSource) {
message.source = aSource;