Anchor jumping doesn't work when going back/forward
Categories
(Core :: Disability Access APIs, defect, P2)
Tracking
()
People
(Reporter: Jamie, Assigned: nlapre)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(1 file)
166 bytes,
text/html
|
Details |
Note that in the below STR, NVDA may say "visited link" instead of "link" depending on whether this is the first time through the STR.
STR (with the NVDA screen reader):
- Open the attached test case.
- Press control+home. NVDA will say "link Section 1".
- Press enter.
- Observe: NVDA says "heading level 1 Section 1"
- Press control+home. NVDA will say "visited link Section 1".
- Press down arrow. NVDA will say "link Section 2".
- Press enter.
- Observe: NVDA says "heading level 1 Section 2"
- Press alt+leftArrow to go back.
- Expected: NVDA should say "heading level 1 Section 1"
- Actual: Nothing.
- Press alt+rightArrow to go forward.
- Expected: NVDA should say "heading level 1 Section 2"
- Actual: Nothing.
This occurs because we only fire scrollingStart events when focus is fired on the document. In this case, the document is already focused when you go back or forward, so there's no focus change to trigger the scrollingStart.
Tying of scrollingStart events to focus events happened in bug 691734. Before that point, I'm pretty sure this would have worked. We still need to ensure scrollingStart happens after initial document focus, though.
Updated•5 years ago
|
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•1 years ago
|
||
Closing this as fixed, addressed by revision D177419.
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Comment 2•1 year ago
|
||
I've reproduced this issue using Nightly 7115.0a1 (2023-05-31) following the STR from Comment 0 on Windows 10 x64 with NVDA enabled.
Verified as fixed on the latest Firefox 116.0 under same configuration: NVDA reads out load "heading level 1 Section 1"(when pressing alt+leftArrow ) and "heading level 1 Section 2"(when pressing alt+rightArrow )
Description
•