Skip to content

Fix-up of: Browse mode: When the user moves the cursor, speak before setting selection. (PR #10389)#10458

Merged
michaelDCurran merged 1 commit into
nvaccess:masterfrom
accessolutions:pr10389-fixUp
Nov 10, 2019
Merged

Fix-up of: Browse mode: When the user moves the cursor, speak before setting selection. (PR #10389)#10458
michaelDCurran merged 1 commit into
nvaccess:masterfrom
accessolutions:pr10389-fixUp

Conversation

@JulienCochuyt

Copy link
Copy Markdown
Contributor

Link to issue number:

Fix-up of PR #10389

Summary of the issue:

PR #10389 reports before moving in BrowseModeTreeInterceptor._quickNavScript but misses to do the same in ElementsListDialog.onAction. I guess the same conditions apply there.
@jcsteh can you please confirm?

Description of how this pull request fixes the issue:

Apply the same change in ElementsListDialog.onAction to also cover moves made from the Elements List dialog.

Testing performed:

Tested from source with Firefox and MS Word as part of my work on PR #10454.

Known issues with pull request:

Change log entry:

N/A

@jcsteh

jcsteh commented Nov 5, 2019

Copy link
Copy Markdown
Contributor

Ah. I didn't think of Elements List. This makes sense. However, it should be tested with the test case from #8831; i.e.

data:text/html,<button onblur="this.textContent = 'Short';">Longer</button><input type="text" aria-label="Input"><button>After</button>

Press control+home, open elements list, select form fields, choose the input edit and press enter. I confirmed that without this patch, it says "a button". It should say "input edit" with the correct patch.

@michaelDCurran

Copy link
Copy Markdown
Member

I confirmed this pr fixes the issue with the test from @jcsteh.

@michaelDCurran michaelDCurran merged commit e719654 into nvaccess:master Nov 10, 2019
@nvaccessAuto nvaccessAuto added this to the 2019.3 milestone Nov 10, 2019
@JulienCochuyt JulienCochuyt deleted the pr10389-fixUp branch November 11, 2019 09:54
@zahra21

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants