Skip to Content
0

Accessibility - Focus handling for sap.m.MessageStrip

Dec 01, 2016 at 10:41 AM

41

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers