Francesco Fumanti | 23 Oct 2009 15:00
Picon

How to automatically detect password prompts?

Hi,

I am assisting somebody that is developing word completion for the 
onscreen keyboard onboard. We would like it to have among others the 
following feature:

Onboard should automatically detect password prompts in order to hide 
feedback so that another person who is looking at the screen cannot read 
it from the screen.

Could anybody please tell us, whether there is a reliable way to detect 
all the password prompts: gksu dialog, policykit authentication window, 
password entry fields in webpages displayed by the various browser, 
password prompts in the terminal,... What about AT-SPI?

Thanks in advance for any help.

Francesco
Willie Walker | 23 Oct 2009 15:10
Picon

Re: How to automatically detect password prompts?

Hi Francesco:

GUI-based password entry fields *should* support the AT-SPI 
ROLE_PASSWORD_TEXT role.  If they don't, it's a bug in the application.

Prompts in the terminal are not easily detected as far as we've been 
able to tell.  If you can come up with something for them, I'd be 
interested.

Hope this helps,

Will

Francesco Fumanti wrote:
> Hi,
> 
> 
> I am assisting somebody that is developing word completion for the 
> onscreen keyboard onboard. We would like it to have among others the 
> following feature:
> 
> Onboard should automatically detect password prompts in order to hide 
> feedback so that another person who is looking at the screen cannot read 
> it from the screen.
> 
> 
> Could anybody please tell us, whether there is a reliable way to detect 
> all the password prompts: gksu dialog, policykit authentication window, 
> password entry fields in webpages displayed by the various browser, 
> password prompts in the terminal,... What about AT-SPI?
(Continue reading)

Francesco Fumanti | 23 Oct 2009 16:02
Picon

Re: How to automatically detect password prompts?

Hi Will,

Thanks for your reply.

Willie Walker wrote:
> Hi Francesco:
> 
> GUI-based password entry fields *should* support the AT-SPI 
> ROLE_PASSWORD_TEXT role.  If they don't, it's a bug in the application.

Does this also include the password entry fields in web pages?

Cheers

Francesco

> Prompts in the terminal are not easily detected as far as we've been 
> able to tell.  If you can come up with something for them, I'd be 
> interested.
> 
> Hope this helps,
> 
> Will
Willie Walker | 23 Oct 2009 16:09
Picon

Re: How to automatically detect password prompts?

Francesco Fumanti wrote:
>> GUI-based password entry fields *should* support the AT-SPI 
>> ROLE_PASSWORD_TEXT role.  If they don't, it's a bug in the application.
> 
> Does this also include the password entry fields in web pages?

It should.  If it doesn't, it's a bug either in the web app for Firefox.

Will
Francesco Fumanti | 23 Oct 2009 16:25
Picon

Re: How to automatically detect password prompts?

Hi again,

Willie Walker wrote:
> Francesco Fumanti wrote:
>>> GUI-based password entry fields *should* support the AT-SPI 
>>> ROLE_PASSWORD_TEXT role.  If they don't, it's a bug in the application.
>>
>> Does this also include the password entry fields in web pages?
> 
> It should.  If it doesn't, it's a bug either in the web app for Firefox.

You explicitely named Firefox. But I assume that it applies also to the 
other browsers? Or am I wrong?

Francesco
Willie Walker | 23 Oct 2009 17:17
Picon

Re: How to automatically detect password prompts?

> You explicitely named Firefox. But I assume that it applies also to the 
> other browsers? Or am I wrong?

Well...Firefox is currently the only browser that really supports the 
AT-SPI.  As the WebKit work progresses, then it too should support the 
password role.  Note also that some of this also boils down to the 
content provider marking up their content appropriately so the browser 
knows what something is.  Here's an example from CITA:

http://test.cita.uiuc.edu/aria/tooltip/tooltip2.php

The ARIA spec (http://www.w3.org/TR/wai-aria/) helps provide a standard 
for people to use to mark up their content, and is what people should 
adhere to.  I know Firefox supports ARIA, but I haven't done a complete 
survey of all browsers out there to see who else does.

The ARIA FAQ is pretty useful, btw:

http://wiki.codetalks.org/wiki/index.php/Web_2.0_Accessibility_with_WAI-ARIA_FAQ

Hope this helps,

Will
Francesco Fumanti | 23 Oct 2009 18:58
Picon

Re: How to automatically detect password prompts?

Hi Will,

Willie Walker wrote:
>> You explicitely named Firefox. But I assume that it applies also to 
>> the other browsers? Or am I wrong?
> 
> Well...Firefox is currently the only browser that really supports the 
> AT-SPI.  As the WebKit work progresses, then it too should support the 
> password role.  Note also that some of this also boils down to the 
> content provider marking up their content appropriately so the browser 
> knows what something is.  Here's an example from CITA:
> 
> http://test.cita.uiuc.edu/aria/tooltip/tooltip2.php
> 
> The ARIA spec (http://www.w3.org/TR/wai-aria/) helps provide a standard 
> for people to use to mark up their content, and is what people should 
> adhere to.  I know Firefox supports ARIA, but I haven't done a complete 
> survey of all browsers out there to see who else does.
> 
> The ARIA FAQ is pretty useful, btw:
> 
> http://wiki.codetalks.org/wiki/index.php/Web_2.0_Accessibility_with_WAI-ARIA_FAQ 
> 
> 
> Hope this helps,

You were indeed helpful. Thanks a lot.

Francesco
(Continue reading)


Gmane