1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Accessibility: Prefer toggle action to press action for checkable items

This commit is contained in:
reuk 2022-01-06 10:16:38 +00:00
parent f429647ae9
commit 12b7a8f9d1
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11
7 changed files with 17 additions and 7 deletions

View file

@ -418,6 +418,7 @@ constexpr NameAndRole accessibilityRoles[]
{ "Ignored", AccessibilityRole::ignored },
{ "Unspecified", AccessibilityRole::unspecified },
{ "Button", AccessibilityRole::button },
{ "Toggle", AccessibilityRole::toggleButton },
{ "ComboBox", AccessibilityRole::comboBox },
{ "Slider", AccessibilityRole::slider },
{ "Static Text", AccessibilityRole::staticText },