[Lazarus] Lazarus and accessibility

Sven Barth pascaldragon at googlemail.com
Tue Sep 20 17:07:29 CEST 2011


Am 20.09.2011 16:51, schrieb Lubos Pintes:
> Hello,
> I am screen reader user. I tried lazarus to see how accessible it is. It
> is almost inaccessible, no surprise. :-)
> But I would like to try make it more accessible, if possible and if my
> knowledge are sufficient. I have prior experience with Delphi 5/6.
> I checked out the "latest and greatest" code from SVN and compiled it
> with FPC 2.4.4.
> So let criticize :-).
>
> The first thing, it seems to me that buttons and labels have no caption.
> I think so because I created application with two buttons and my screen
> reader reported "Button1 button" "Button2 button" as expected. In
> Lazarus screen reader reports only "button". So would it be possible to
> name labels and buttons? Labels because some edit fields for example are
> not named.
> I was unable to set caption in IDE because property grid is unusable.
> This doesn't matter, the default caption "Buttonx" was sufficient for
> testing.
>
> Perhaps it is all about reading through lfm files and setting caption
> property? Or perhaps LCL has some accessibility support? I can try to do
> it and send patch if it will be accepted. Or any reason I don't see why
> captions are not set? Or perhaps they are set but screen reader doesn't
> see them for some reason?
> Thank for any comment.

Which operating system are you using?
And if you're using Linux do you know which widgetset (GTK1, GTK2, Qt) 
you compiled Lazarus for (if you don't know, then it might be GTK2, as 
this is the default)?

I might not be able to help you regarding accessibilty, but the answers 
might allow others to more easily help you.

Regards,
Sven





More information about the Lazarus mailing list