Using Dojo 0.4.x over HTTPS and IE security warning

Getting dojo to work with SSL should not be a problem. However, when I migrated my application over HTTPS, I couldn’t find why the Security Warning pops up when using IE.

After a few hours googling around, I found the following post.

The issue was indeed due to the testAccessible function within a11y.js.

I patched a11y.js as follow:

dojo.a11y = {	// imgPath: String path to the test image for determining if images are displayed or not	// doAccessibleCheck: Boolean if true will perform check for need to create accessible widgets	// accessible: Boolean uninitialized when null (accessible check has not been performed)	//   if true generate accessible widgets	imgPath:dojo.uri.dojoUri("src/widget/templates/images"),	doAccessibleCheck: false,	accessible: null,		

and this solved my issue.

Comments are closed.