On Thu, 2 Mar 2023 03:56:45 GMT, Abhishek Kumar <abhis...@openjdk.org> wrote:
>> I think this can be verified by the test, you can check the number of >> children returned by the a11y API is correct when the doc is replaced. > >> I think this can be verified by the test, you can check the number of >> children returned by the a11y API is correct when the doc is replaced. > > Probably we don't required a test because I think we can verify the number of > children by using JAccessWalker a11y tool, so whenever there is a doc change, > the component hierarchy should be updated. > probably we should call validate first, so it will be in the valid state > before being leaked to the "setElementInfo" method. Ok, I will check. ------------- PR: https://git.openjdk.org/jdk/pull/12707