Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Announce autotext such as numbering when pressing enter in editable documents #4185

Closed
nvaccessAuto opened this issue Jun 11, 2014 · 5 comments
Labels
Milestone

Comments

@nvaccessAuto
Copy link

Reported by mdcurran on 2014-06-11 05:07
Some editors sucha s Microsoft word can automatically insert numbers or bullets on new lines when pressing enter when currently in a list. Another exzmple would be a programming editor that automatically inserts tab characters when pressing enter.
When pressing enter, NVDA should announce any text on the new line up to the position of the caret.
This should happen in all editable text except for controls with live text (e.g. terminals).
These announcements must also be configurable.
Blocking #4393

@nvaccessAuto
Copy link
Author

Comment 1 by Michael Curran <mick@... on 2014-06-11 06:37
In [d09e413]:

Merge branch 't4185' into next. Incubates #4185

Changes:
Added labels: incubating

@nvaccessAuto
Copy link
Author

Comment 2 by nvdakor on 2014-06-11 10:22
Hi,
There seems to be a major bug with the implementation: when you press ENTER in a search box in sites such as Wikipedia and Twitter, NVDA throws runtime exception as follows:
STR:

  1. Go to a site that you know has a search box, such as Twitter or Wikipedia.
  2. Enter something into the search box (for example, in Twitter, try entering nvdasr then press ENTER).
    Expected: NVDA proceeds as before (up to yesterday's snapshot).
    Actual: A runtime exception is thrown as shown below:
Input: kb(desktop):enter
ERROR - scriptHandler.executeScript (03:20:51):
error executing script: <bound method Dynamic_EditableTextWithoutAutoSelectDetectionMSHTMLIAccessible.script_enter of <NVDAObjects.Dynamic_EditableTextWithoutAutoSelectDetectionMSHTMLIAccessible object at 0x048F7C50>> with gesture u'enter'
Traceback (most recent call last):
  File "scriptHandler.pyc", line 174, in executeScript
  File "editableText.pyc", line 119, in script_enter
  File "NVDAObjects\__init__.pyc", line 911, in makeTextInfo
  File "NVDAObjects\IAccessible\MSHTML.pyc", line 215, in __init__
RuntimeError: Only works with currently selected element

This does not occur in sites such as Google. In multi-line edit fields in browse mode, "blank" is spoken after pressing ENTER.
Thanks,

@nvaccessAuto
Copy link
Author

Comment 3 by Michael Curran <mick@... on 2014-06-11 23:01
In [f3da994]:

Merge branch 't4185' into next. Incubates #4185

@nvaccessAuto
Copy link
Author

Comment 4 by Michael Curran <mick@... on 2014-06-26 07:11
In [dd2f2e4]:

Merge branch 't4185'. Fixes #4185

Changes:
Removed labels: incubating
State: closed

@nvaccessAuto
Copy link
Author

Comment 5 by mdcurran on 2014-06-26 07:13
Changes:
Milestone changed from next to 2014.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant