Hi, Ambarish.

I have checked behavior change, and it looks like it has some
unexpected issues.

If the text of some component like JLabel sets
the text to HTML and then to the simple text, then HTML based
a11y name will be used instead of simple text.

Note that you should not use "printStackTrace" I guess the old
behavior should be used if some errors occur.

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.

Reply via email to