[Lazarus] Lazarus: make buttons accessible on Windows

Bart bartjunk64 at gmail.com
Mon Mar 25 14:50:57 CET 2013


On 3/25/13, Lubos Pintes <pintes at gmail.com> wrote:
> Hi,
> Currently the buttons in Windows version of Lazarus are not accessible,
> more precisely, they are unnamed. This means that screen reader reads
> all buttons as "button", not "ok button", "cancel button" etc.
>
> This "code contribution" fixes this:
>
> class procedure TWin32WSBitBtn.SetText(const AWinControl: TWinControl;
> const AText: string);
> begin
>    TWin32WSWinControl.SetText(AWinControl, AText);
>    ...
> end;
>
> So just inserting one line. I tested it and it works. So if this will be
> accepted, we have buttons accessible on Windows wow. :)

Could you please open a bugreport for this in our bugtracker,
otherwise chances are it will be forgotten.

Bart




More information about the Lazarus mailing list