2 Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3 For licensing, see LICENSE.md or http://ckeditor.com/license
5 CKEDITOR.dialog.add("a11yHelp", function(e) {
6 var a = e.lang.a11yhelp,
7 b = e.lang.common.keyboard,
8 q = CKEDITOR.tools.getNextId(),
73 d[CKEDITOR.ALT] = b[18];
74 d[CKEDITOR.SHIFT] = b[16];
75 d[CKEDITOR.CTRL] = CKEDITOR.env.mac ? b[224] : b[17];
76 var k = [CKEDITOR.ALT, CKEDITOR.SHIFT, CKEDITOR.CTRL],
79 var c = e.getCommandKeystroke(b);
81 for (var l, f, h = [], g = 0; g < k.length; g++) f = k[g], l = c / k[g], 1 < l && 2 >= l && (c -= f, h.push(d[f]));
82 h.push(d[c] || String.fromCharCode(c));
93 label: e.lang.common.generalTab,
98 style: "white-space:normal;",
100 this.getElement().focus()
104 '\x3cdiv class\x3d"cke_accessibility_legend" role\x3d"document" aria-labelledby\x3d"' + q + '_arialbl" tabIndex\x3d"-1"\x3e%1\x3c/div\x3e\x3cspan id\x3d"' + q + '_arialbl" class\x3d"cke_voice_label"\x3e' + a.contents + " \x3c/span\x3e", d = [], c = a.legend, l = c.length, f = 0; f < l; f++) {
105 for (var h = c[f], g = [], e = h.items, k = e.length, p = 0; p < k; p++) {
107 n = CKEDITOR.env.edge && m.legendEdge ? m.legendEdge : m.legend,
109 n.match(r) || g.push("\x3cdt\x3e%1\x3c/dt\x3e\x3cdd\x3e%2\x3c/dd\x3e".replace("%1", m.name).replace("%2",
112 d.push("\x3ch1\x3e%1\x3c/h1\x3e\x3cdl\x3e%2\x3c/dl\x3e".replace("%1", h.name).replace("%2", g.join("")))
114 return b.replace("%1", d.join(""))
115 }() + '\x3cstyle type\x3d"text/css"\x3e.cke_accessibility_legend{width:600px;height:400px;padding-right:5px;overflow-y:auto;overflow-x:hidden;}.cke_browser_quirks .cke_accessibility_legend,{height:390px}.cke_accessibility_legend *{white-space:normal;}.cke_accessibility_legend h1{font-size: 20px;border-bottom: 1px solid #AAA;margin: 5px 0px 15px;}.cke_accessibility_legend dl{margin-left: 5px;}.cke_accessibility_legend dt{font-size: 13px;font-weight: bold;}.cke_accessibility_legend dd{margin:10px}\x3c/style\x3e'
118 buttons: [CKEDITOR.dialog.cancelButton]