Skip to Content

Accessibility - Focus handling for sap.m.MessageStrip

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.

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?



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers