Change AT-SPI2 (Linux) role from "frame" to "panel" for non-window objects
If you look in the attached screen shot of using the Accerciser accessibility inspector to examine MuseScore, (at least) the following non-window objects have the accessible "frame" role:
- Piano Keyboard
- Text Tools
- Selection Filter
ROLE_FRAME in ATK/AT-SPI2 is "A top-level window with a title bar, border, menubar, etc."
A more suitable role for these containers would be ROLE_PANEL: "A generic container that is often used to group objects."
The Orca screen reader relies upon the accessible role quite a bit when determining what to present about an object, how to process accessible events from that object, etc.