[Lazarus] Lazarus: make buttons accessible on Windows

Lubos Pintes pintes at gmail.com
Mon Mar 25 16:24:34 CET 2013


Done, bug #24135.

Dňa 25. 3. 2013 14:50 Bart wrote / napísal(a):
> 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
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>





More information about the Lazarus mailing list