On Mon, 30 Mar 2026 06:26:08 GMT, Jeremy Wood <[email protected]> wrote:
> What do you think? I think it sounds like an inconsistent mess. If getAccessibleActionDescription() is meant to be for an AT to read to a user, then it being localized makes sense. But the A11Y docs are not as forthcoming on what they expect as I would want. There's the occasional tea leaf like https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/javax/swing/JEditorPane.AccessibleJEditorPane.html#getAccessibleDescription() But then in this case, the code that references INCREMENT etc, ought to be putting it through a localization lookup before returning it. However I wouldn't be surprised if doing that would cause problems similar to clicken. And internally we probably should never be calling APIs that like getAccessibleActionDescription() to use in the implementation, if that is, they can be returning localized messages for an end user. We should be doing something else. ------------- PR Comment: https://git.openjdk.org/jdk/pull/30181#issuecomment-4157335460
