Hi,
Probably the problem is TBitBtn. Although after heavy fighting with the IDE I was able to set the Caption, screen reader is unable to see it. I made an experiment where I put two buttons, one TButton, and one TBitBtn to form. I was confused, because those component have window class name "Button". I mean win32 window class name. So it looked like "Ok, it is Button, regular Windows control, but is not named".

Request for some clever guy here: Can someone please point me to part of LCL source code where windows things are made? I mean where handles are created, window classes defined etc. To make support for screen reader seems to be challenge because it seems that everything in LCL has the "Window" class.
Dňa 20.9.2011 17:05, Vincent Snijders wrote / napísal(a):
2011/9/20 Lubos Pintes<[email protected]>:
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.
Strange, because I do see them. Your screen reader may not pick them up.

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.

Can you test with TBitBtn? And with TLabel?

Vincent

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus



--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to