go-webview2 icon indicating copy to clipboard operation
go-webview2 copied to clipboard

Screen reader a11y on macos. setting dir="rtl" on textarea

Open a-alhusaini opened this issue 5 months ago • 4 comments

When using VoiceOver (the macos screen reader). It reads textarea tags perfectly, but the behaviour is incorrect when setting dir="rtl" to a textarea.

Expected behaviour: The screen reader reads the current line when I press up and down arrows Actual behaviour: The screen reader remains silent.

I believe this is a webview issue as the website version of my wails app doesn't have this issue.

This is my app. http://github.com/a-alhusaini/daarbnotes/

To reproduce the bug

  • open the app.
  • in the note body, write some text
  • Click the dirswap button. Which swaps the dir on the textarea of the note body
  • Now, when you press up and down arrow keys, the text is anounced aloud by VoiceOver.

a-alhusaini avatar Aug 27 '25 06:08 a-alhusaini

Might be better to report it on Microsoft's webview2feedback repository if you think it's a webview bug 👍

leaanthony avatar Aug 28 '25 21:08 leaanthony

I'm a little confused, I assumed the fork meant the code is different? Thus I reported it here.

a-alhusaini avatar Aug 29 '25 17:08 a-alhusaini

This isn't a fork of Webview2, it's just a way to access it 👍

leaanthony avatar Aug 31 '25 09:08 leaanthony

@leaanthony I couldn't quite figure out why this is happenning yet. Though, things work fine when I'm in dev mode and run my app through a browser. I tried edge, brave, and safari and they all work without the bug. It only happens when I use the app directly (without the browser). So, I'm not sure where the issue might be. Should I repost this in the wails repo

a-alhusaini avatar Sep 23 '25 13:09 a-alhusaini