cliffdeclerck / eid-applet

Automatically exported from code.google.com/p/eid-applet
Other
0 stars 0 forks source link

Usability: test / improve accessibility #47

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Accessibility (keyboard, screen reader, ...) needs to be tested and improved, 
especially JRE popups (content of message / buttons) and focus of the applet.

Screen readers: Jaws/NVDA

(Installing the Java Access Bridge should improve the user experience)

Original issue reported on code.google.com by bart.han...@fedict.be on 2 Jul 2010 at 1:07

GoogleCodeExporter commented 9 years ago
JAWS8 and up combined with JAB 2 is able to read security warning messages, but 
there are still issues:

- once the "details" button gets focus, it seems currently impossible to 
navigate ("tab") out of the applet (IE8 / FF 3.3)

- it seems that setText() on JLabel is not enough: updating the text does not 
warn the reader (JAWS 10) (issue with bridge ?), one has to code 
getAccessibleContext().setAccessibleName()

- some labels / messages may need some tweaking (ending with ..., or >>>, Jaws 
reads it literaly)

Original comment by bart.han...@fedict.be on 13 Jul 2010 at 11:29

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
JAWS 11 does read the warnings automatically in FireFox 3.6.x, but not in IE 8 
(in IE one has to press Insert-B, there seems to be no setting that overrides 
this behavior)

JAWS uses another script for IE 8 than for FF, and the FocusChangedEvent() is 
slightly different, one workaround would be to load a custom script when the 
eID applet is detected.
Unfortunately JAWS' GetAppletName() does not seem to work in this case, and 
never returns the name of the eID applet - not even when a name is provided as 
PARAM or name attribute -  hence there is no way to load an eID-applet specific 
app.

Original comment by bart.han...@fedict.be on 27 Jul 2010 at 11:19

GoogleCodeExporter commented 9 years ago
JAWS 11 fix for automatically reading dialog boxes in ie8: 

- Open IE and use INS+F2+S to get to the script manager
- Search for FocusChangedEvent function

Change:

if IsJavaWindow(focusWindow) then
  let strApplet = GetAppletName()
  if (strApplet != cscNull) then
    SwitchToConfiguration(strApplet)
    return
  endif
endIf

Into:

if IsJavaWindow(focusWindow) then
  let strApplet = GetAppletName()
  if (strApplet != cscNull) then
    SwitchToConfiguration(strApplet)
    return
  endif
  FocusChangedEvent (focusWindow, prevWindow)
endIf

Original comment by bart.han...@fedict.be on 27 Jul 2010 at 11:48

GoogleCodeExporter commented 9 years ago
Closing this one.
Just create a new ticket when a new, specific issue is encountered

Original comment by bart.han...@fedict.be on 17 Aug 2010 at 11:42