Re: Using PGAdmin with a screen reader

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Torma Zsolt <torma(dot)zsolt(at)sarabi(dot)onyf(dot)hu>
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: Using PGAdmin with a screen reader
Date: 2005-02-10 15:24:24
Message-ID: 420B7CA8.2050707@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Torma Zsolt wrote:
> Hi all,
>
> I'm a blind computer expert and i'm using a screen reader called JAWS for
> Windows (http://www.freedomscientific.com).
>
> Almost all of the PGAdmin functions can be used with JAWS, but the window
> that contains the SQL statements isn't accessible: JAWS doesn't recognize
> the cursor (or insertion point) when I move it from character to character,
> or from line to line.
>
> By default, JAWS can handle the standard Windows controls (edit fields, list
> boxes, etc.), but with a feature, I can reclass a non-standard control, so
> JAWS can handle the non-standard control as a standard control.
>
> For example, I've tried to reclass the window that contains the SQL
> statement to edit field, but I still have the same problem.
>
> A solution would be a standard edit field if possible.

Well, the advantage of pgAdmin is that it does *not* use a standard edit
field, providing syntax highlighting.
What's in use is the Scintilla control (www.scintilla.org). According to
your description, you should have the same problem with with the SciTE
editor, which was meant as demonstration. Please check there, apparently
the controls need some fixing. If it's fixed there, it has to be updated
in the wxWidgets project, and will eventually be used in pgAdmin as
well. Apparently you'll have to be very patient.

Alternatively, you could hack the pgAdmin sources, modifying the class
ctlSQLBox which is currently derived from wxStyledTextCtrl (wx' name for
Scintilla). You could change that to wxTextCtrl, but you'd have to
implement some wxSTC methods (many just have different names, others are
no-ops for wxTextCtrl).

Regards,
Andreas

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Dave Page 2005-02-10 15:34:13 Re: Using PGAdmin with a screen reader
Previous Message Dave Page 2005-02-10 15:15:11 Re: Using PGAdmin with a screen reader