Posted 8 September 2017, 3:26 pm ESTI am trying to enhance support for the JAWS screen reader in a Read-Only spreadsheet.
By default it 'reads'
Spread 1 Sheet 1 Row 0 Column 0 [cell text]
when focus is first moved to the spreadsheet.
There are a couple of issues with this:
1. Users do not use offsets, they use numbers, so the first cell should be Row 1 Column 1.
2. 'Column 1' is not useful to someone who is blind. It should read the column title.
I therefore set my own value for AccessibleDescription in OnEnter() as folows:
History Row 1 Date [cell text]
(where 'Date' is the column header for the first column)
Unfortunately, although it does sometimes read the string that I set it often still reads your default value instead.
If OnEnter() is not the correct place to set this value where should I set it?
Secondly (and more importantly) I also set the following value in OnEnterCell():
Row [rowid+1] [column header] [cell text]
(Normally it seems that a read-only grid does not read anything when moving through the cells)
I have this working, but only by using a double focus shift where I move focus to my parent window and back to the spreadsheet. This was the only way I could figure to force the screen reader to take notice that the value had changed, but double focus shifts are not a good idea.
Is there an event I need to register for, or a function I need to call in order to notify a screen reader that the information has changed?