Skip to content

Conversation

@m-sasha
Copy link
Member

@m-sasha m-sasha commented May 26, 2025

We currently don't report any AWT AccessibleRole for Compose's Role.Switch.
Unfortunately AWT doesn't have a role for switches, but they are similar enough to checkboxes, that I think it's better to report them as such than not at all.

Fixes https://youtrack.jetbrains.com/issue/CMP-8008

Testing

Tested manually.

This could be tested by QA

Release Notes

Features - Desktop

  • Add accessibility role for Switch, reporting it as a checkbox.

@m-sasha m-sasha requested a review from igordmn May 26, 2025 13:26
@m-sasha m-sasha merged commit 182f66f into jb-main May 27, 2025
10 checks passed
@m-sasha m-sasha deleted the m-sasha/a11y-switch-as-checkbox branch May 27, 2025 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants