Allow setting accessibility labels on gadgets

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Quin
Addict
Addict
Posts: 1124
Joined: Thu Mar 31, 2022 7:03 pm
Location: Colorado, United States
Contact:

Allow setting accessibility labels on gadgets

Post by Quin »

Very often, it's useful to add an accessible name to a control. See here for more info on that specifically: https://learn.microsoft.com/en-us/acces ... ntrol_name
It would be amazing if PB's native gadgets could support this.

I submitted a pull request against the IDE, adding accessible labels to ButtonImageGadgets using SetGadgetText() (thanks to Freak for that little discovery), but now I want to do it in other places, like on a ComboBox. Instead of adding another text element (which could also get in the way of sighted users), accessibility label support would be great, and would benefit many projects.