RFR: 8313556: Create implementation of NSAccessibilitySlider protocol [v7]

Alexander Zuev kizune at openjdk.org
Wed Mar 5 17:20:02 UTC 2025


On Wed, 5 Mar 2025 16:48:22 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

> so the remaining question is whether it should announce "percent" of the slider position or the actual value?

Unfortunately we do not have any control on that. There is no way to tell VoiceOver if it is percent or the raw value - VO deducts it based on its own logic. The only way to customize the VO heuristics is to override accessibilityValueDescription function and return string for VO but then we would need to decode for ourselves how do we convert the value plus it will be our responsibility to do localization of this string if needed.

-------------

PR Comment: https://git.openjdk.org/jfx/pull/1226#issuecomment-2701584916


More information about the openjfx-dev mailing list