-
Bug
-
Resolution: Fixed
-
Normal
-
9.5.0.2
-
Security Level: Jimmy
-
ZK 9.5.1 S1
-
None
Steps to Reproduce
<zk> <textbox/> <button upload="true" label="upload"/> <textbox/> </zk>
tab through the widgets
Current Result
the hidden upload input is part of the tab order (to the user it looks like no element has focus)
Expected Result
hidden input not focussable
hidden input should also have aria-hidden="true"
Debug Information
Workaround
js override to add aria-hidden and remove hidden in put from tab order
zk.afterLoad('zul', function() { var xUpload = {}; zk.override(zul.Upload.prototype, xUpload, { initContent : function() { xUpload.initContent.apply(this, arguments); this._inp.setAttribute('aria-hidden', true); this._inp.setAttribute('tabindex', -1); } });//zk.override });//zk.afterLoad