cancel
Showing results for 
Search instead for 
Did you mean: 

enhanceAccessibilityState sample implementation

Former Member
0 Kudos

Hi,

Could anyone has implemented the property enhanceAccessibilityState if you could you please give me the sample implementation and it's features.

Thankyou.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Velu,

Could you be more specific what exactly are you trying to achieve since I cannot recall seeing this property/function anywhere.

There is a function in the RenderManager called writeAccessibilityState and it is used to add ARIA attributes when rendering controls.

Best,

Deyan

Former Member
0 Kudos

Hi Deyan,

I want to implement enhanced weaccessability for AA users in my project so want to know how to implement writeAccessibilityState to add ARIA attributes for different controls in screen.

Former Member
0 Kudos

Hi Velu,

If you are building your project with controls from sap.ui.commons and sap.m they already come with accessibility support implemented. There should be no need to implement anything unless it is very specific.

For custom control creation you can refer to the writeAccessibilityState method documentation:

OpenUI5 SDK - Demo Kit

Best,

Deyan