On Tue, 4 Mar 2025 11:12:55 GMT, Artem Semenov <aseme...@openjdk.org> wrote:
>> ohh ok... role comparison will not work here because the role is >> "AccessibleRole.TEXT" and we want to ignore the property change only if the >> parent is a JSpinner with NumberEditor. > > We can check the role of the parent and the current element. > The parent should be a spin box, the current one should be a text element. I checked it before, the parent role is `Panel` and current element role is `Text` and that results in inconsistent announcement. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/23841#discussion_r1979256513