chromiumembedded / cef

Chromium Embedded Framework (CEF). A simple framework for embedding Chromium-based browsers in other applications.
https://bitbucket.org/chromiumembedded/cef/
Other
3.23k stars 456 forks source link

Windows: Expose caret position for accessibility with OSR #3320

Open magreenblatt opened 2 years ago

magreenblatt commented 2 years ago

Original report by Andrew Smith (Bitbucket: Andrew Smith).


e.g. cefclient.exe --multi-threaded-message-loop --no-sandbox --off-screen-rendering-enabled --enable-gpu

RESULTS:

The portion of the screen where the caret is within the input of the webpage is not rendered in the magnifier. If you click in the address bar in that app and type it will. Similarly if you run the cefclient without osr enabled it will work. Presumably something needs to be calling SetCaretPos based on the caret position.

This was tested using the 100.0.22 version of the cef client binary.

magreenblatt commented 2 years ago

Indeed, this is something that would need to be exposed by the CEF API and implemented by the client application (same with any other accessibility feature + OSR).

magreenblatt commented 2 years ago

Original comment by Hex Rom (Bitbucket: Hex Rom).


I use CEF API to get access to it which means CEF API is exactly needed for this to work fine by gba

magreenblatt commented 2 years ago