[pve-devel] [PATCH pve-manager 3/4] temporary disable accessibility warnings

Emmanuel Kasper e.kasper at proxmox.com
Wed Feb 17 14:53:57 CET 2016


ExtJS6 adds accessibility (aria) support to the framework, which means
special handling of space/enter key and panels title, and a lot of
warnings / errors in the browser console

Aria support will be reenabled after all the components are migrated to
ExtJS6
---
 www/manager6/Utils.js | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/www/manager6/Utils.js b/www/manager6/Utils.js
index f286c09..368c564 100644
--- a/www/manager6/Utils.js
+++ b/www/manager6/Utils.js
@@ -1,5 +1,12 @@
 Ext.ns('PVE');
 
+// avoid errors related to Accessible Rich Internet Applications
+// (access for people with disabilities)
+// TODO reenable after all components are upgraded 
+Ext.enableAria = false;
+Ext.enableAriaButtons = false;
+Ext.enableAriaPanels = false;
+
 // avoid errors when running without development tools
 if (!Ext.isDefined(Ext.global.console)) {   
     var console = { 
-- 
2.1.4





More information about the pve-devel mailing list