Bug 663347 Give popup notification panels role="alert" and make their close buttons tabbable. r=Neil ui-r=Neil

This commit is contained in:
Philip Chee 2011-06-11 11:19:59 +08:00
Родитель a696583eb6
Коммит 78b15e1845
2 изменённых файлов: 7 добавлений и 3 удалений

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

@ -170,7 +170,11 @@
<!-- Bookmarks and history tooltip -->
<tooltip id="bhTooltip"/>
<panel id="notification-popup" type="arrow" position="after_start" hidden="true"/>
<panel id="notification-popup"
type="arrow"
position="after_start"
hidden="true"
role="alert"/>
<menupopup id="popupBlockerMenu"
oncommand="popupBlockerMenuCommand(event.target);"

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

@ -2421,7 +2421,7 @@
</xul:vbox>
<xul:vbox pack="start">
<xul:toolbarbutton anonid="closebutton"
class="messageCloseButton popup-notification-closebutton"
class="messageCloseButton popup-notification-closebutton tabbable"
xbl:inherits="oncommand=closebuttoncommand"
tooltiptext="&closeNotification.tooltip;"/>
</xul:vbox>
@ -2464,7 +2464,7 @@
</xul:vbox>
<xul:vbox pack="start">
<xul:toolbarbutton anonid="closebutton"
class="messageCloseButton popup-notification-closebutton"
class="messageCloseButton popup-notification-closebutton tabbable"
xbl:inherits="oncommand=closebuttoncommand"
tooltiptext="&closeNotification.tooltip;"/>
</xul:vbox>