зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
1e7f8acc76
Коммит
0ce284dda1
|
@ -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();"
|
||||
|
|
Загрузка…
Ссылка в новой задаче