Bug 304484. Expose alerts, prompts and message boxes as ROLE_ALERT so screen readers have a cue to speak the entire dialog when it appears. r=mconnor

This commit is contained in:
aaronleventhal%moonset.net 2005-08-17 17:24:14 +00:00
Родитель 1e7f8acc76
Коммит 0ce284dda1
2 изменённых файлов: 6 добавлений и 0 удалений

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

@ -41,6 +41,9 @@
<window id="alertNotification"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
windowtype="alert:alert"
xmlns:xhtml2="http://www.w3.org/TR/xhtml2"
xmlns:wairole="http://www.w3.org/2005/01/wai-rdf/GUIRoleTaxonomy#"
xhtml2:role="wairole:alert"
align="start"
onload="onAlertLoad()">

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

@ -6,6 +6,9 @@
<dialog id="commonDialog"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xhtml2="http://www.w3.org/TR/xhtml2"
xmlns:wairole="http://www.w3.org/2005/01/wai-rdf/GUIRoleTaxonomy#"
xhtml2:role="wairole:alert"
onload="commonDialogOnLoad();"
ondialogaccept="return commonDialogOnAccept();"
ondialogextra1="return commonDialogOnExtra1();"