cancel
Showing results for 
Search instead for 
Did you mean: 

Accessibility - Focus handling for sap.m.MessageStrip

0 Kudos

Dear experts,

Our Fiori application makes use of sap.m.MessageStrip control but, the screen reader (Jaws 18) fails to the read the text of this Message when it appears on screen or when being clicked. Thus, this control is failing Accessibility check.

https://sapui5.hana.ondemand.com/explored.html#/sample/sap.m.sample.MessageStrip/preview

I found that some controls don't provide any accessibility info but, this can be overridden. In this case, as told by a UI5 dispatcher colleague I am trying to change the focus DOM reference of this control to point to the "close" button, doing this should solve the problem.

I am using the following code to override the focus DOM reference of this control but unfortunately this is not working.

sap.m.MessageStrip.getFocusDomRef = function() { return this.getDomRef().firstChild.nextSibling.nextSibling; };

Any idea on how this problem can be solved?

Regards,

Himanshu

Accepted Solutions (0)

Answers (0)