<Swing Dev> [14] RFR : JDK-4949105 : Access Bridge lacks html tags parsing
Ambarish Rapte
ambarish.rapte at oracle.com
Fri Oct 18 19:08:28 UTC 2019
Hi Sergey,
Behavior on mac,
Without fix:
html text is passed to VoiceOver without parsing.
Even a simple html text like <html><body><b>Hello</b></body></html> is read as-is '<html><body><b>Hello</b></body></html>'
With fix:
It fixes the above issue.
Parsed html text is passed to VoiceOver.
html text like <html><body><b>Hello</b></body></html> is read as 'Hello'
Regards,
Ambarish
-----Original Message-----
From: Sergey Bylokhov
Sent: Wednesday, October 02, 2019 1:12 AM
To: Ambarish Rapte <ambarish.rapte at oracle.com>; swing-dev at openjdk.java.net
Subject: Re: <Swing Dev> [14] RFR : JDK-4949105 : Access Bridge lacks html tags parsing
Hi, Ambarish.
Can you please check how it works on macOS when VoiceOver is ON.
On 9/24/19 9:45 am, Ambarish Rapte wrote:
> Hi All,
>
> Please review this accessibility fix,
>
> JBS: https://bugs.openjdk.java.net/browse/JDK-4949105
>
> Webrev: http://cr.openjdk.java.net/~arapte/a11y/4949105/webrev.00/
>
> Issue:
>
> When a Swing component is created with html text. The same html text is shared as AccessibleName with screen reader application.
>
> If screen reader fails to parse the html string correctly, then it may read the text different from the text displayed for the component.
>
> Fix:
>
> The same parsed html string for the component should be shared to screen reader as AccessibleName.
>
> No existing Swing component tests fail due to this change.
>
> Regards,
>
> Ambarish
>
--
Best regards, Sergey.
More information about the swing-dev
mailing list