Accessibility implementation on cefsharp wpf application

Having problems with building or using the CefSharp .NET binding? Ask your CEF-related questions here. Please ask general usage questions on StackOverflow.

Moderator: amaitland

Accessibility implementation on cefsharp wpf application

Postby a1dharm » Mon Jul 18, 2022 1:13 am

Hi @amaitland,

We want to enable the accessibility for our application. We are using default win10 narator and NVDA. So how to enable accessibilty for cefsharp wpf application. I have implemented below some of code but it is not working. Can you please suggest on this. we are using latest cefsharp v100/v102.

using CefSharp.Wpf.Experimental.Accessibility;

//cef initialization
settings.CefCommandLineArgs.Add("force-renderer-accessibility", "1");

chromeBrowser.AccessibilityHandler = new AccessibilityHandler(chromeBrowser);
chromeBrowser.IsBrowserInitializedChanged += (sender, args) =>
{
chromeBrowser.GetBrowserHost().SetAccessibilityState(CefState.Enabled);
};

And also getting some error i.e added in image {accessibility error.png}
accessibility error.png
error while adding accisibility
accessibility error.png (105.84 KiB) Viewed 10232 times
a1dharm
Techie
 
Posts: 24
Joined: Fri Oct 22, 2021 2:08 am

Re: Accessibility implementation on cefsharp wpf application

Postby a1dharm » Wed Jul 20, 2022 2:17 am

Hi @amaitland

Did you get the chance to look at this? or Is there any suggestion.

Regards
Dharmendra
a1dharm
Techie
 
Posts: 24
Joined: Fri Oct 22, 2021 2:08 am

Re: Accessibility implementation on cefsharp wpf application

Postby amaitland » Wed Jul 20, 2022 2:48 am

Like all open source projects you are welcome to debug this issue yourself and propose a fix.

It's unlikely I'll be looking into this.
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1291
Joined: Wed Jan 14, 2015 2:35 am


Return to CefSharp Forum

Who is online

Users browsing this forum: No registered users and 10 guests