Veli-Pekka Tätilä wrote:
Robert May wrote:
Andy Pastuszak wrote:
I am trying to create a simple input box. I created a window, added a
text area and an Ok and Cancel button.
In Win32::GUI
<code snipped>
Hi Robert,
And thanks for the input box code.
I'm always happy that such snippets are useful to others.
This input box seems to work just fine mostly. My only minor gripe is
about accessibility. I think the text box should have a label and the
title bar could, say. state the app name, for instance. True, a screen
reader will read the title bar when the input box is the top-level
window getting the focus. If you then tab around the box and go back to
the unlabelled text box, it may say something like:
ok button <tab>
cancel button <tab>
edit area".
For my education how would a screen reader determine which label to read
out for an edit control? I guess I mean what placement of the label
would be best? To the left? Above?
Regards,
Rob.
--
Robert May
Win32::GUI, a perl extension for native Win32 applications
http://perl-win32-gui.sourceforge.net/