moving by words having @ char is inconsistent
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox83 | --- | verified |
People
(Reporter: surkov, Assigned: Jamie)
References
(Blocks 1 open bug)
Details
(Keywords: access)
Attachments
(2 files)
Reporter | ||
Comment 1•12 years ago
|
||
Reporter | ||
Comment 3•11 years ago
|
||
Reporter | ||
Updated•11 years ago
|
Updated•11 years ago
|
Reporter | ||
Comment 5•11 years ago
|
||
Comment 7•11 years ago
|
||
Comment 9•11 years ago
|
||
Comment 10•11 years ago
|
||
Comment 11•11 years ago
|
||
Reporter | ||
Comment 12•11 years ago
|
||
Comment 13•11 years ago
|
||
Reporter | ||
Comment 14•11 years ago
|
||
Comment 15•11 years ago
|
||
Assignee | ||
Comment 16•4 years ago
|
||
As I see it, the problem isn't really whether we treat punctuation as a separate stop or not. The problem is that when layout.word_select.stop_at_punctuation is true (as it is by default), the behaviour for next word and previous word is asymmetric. STR:
- Set layout.word_select.stop_at_punctuation to true if it isn't already.
- Open this test case:
data:text/html,<input type="text" value="@a">
- Focus the text field.
- Move to the start of the line.
- Select next word with the keyboard (shift+control+rightArrow on Windows).
- Observe: "@a" is selected.
- Unselect previous word with the keyboard (shift+control+leftArrow on Windows).
- Expected: "@a" should be unselected.
- Actual: "a" is unselected, leaving "@" selected.
I can't reproduce this in any other Windows editor (Notepad, Wordpad, Chrome), nor can I see any benefit to this asymmetry. Whether we stop on punctuation or not, I would think it should be symmetric.
Note that things are symmetric if that pref is false.
Ehsan, do you know if this asymmetry is intentional?
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 17•4 years ago
|
||
Comment 18•4 years ago
|
||
Comment 19•4 years ago
|
||
bugherder |
Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Comment 20•4 years ago
|
||
I was unable to reproduce the initial issue using an old Nightly build using the STR from comment 16 I get the actual result (step 6) on old Nightly before the fix and also in latest Nightly and Beta 83. Are those the correct steps to reproduce/verify this bug or maybe I'm missing something?
Assignee | ||
Comment 21•4 years ago
|
||
Sorry, the actual user impact wasn't clearly explained in this bug.
STR (with the NVDA screen reader):
- Ensure NVDA's punctuation/symbol level is set to all: NVDA menu -> Preferences -> Settings -> Speech -> Punctuation/symbol level: all.
- Open this URL:
data:text/html,before<input type="text" value="a ! @b$">
- Tab to the text box.
- Press home to move to the start of the line.
- Press control+rightArrow.
- Expected: NVDA says "bang"
- Actual: NVDA says "a bang"
- Press control+rightArrow.
- Expected: NVDA says "at b dollar"
- Actual: NVDA says "at"
Comment 22•4 years ago
|
||
(In reply to James Teh [:Jamie] from comment #21)
Sorry, the actual user impact wasn't clearly explained in this bug.
STR (with the NVDA screen reader):
- Ensure NVDA's punctuation/symbol level is set to all: NVDA menu -> Preferences -> Settings -> Speech -> Punctuation/symbol level: all.
- Open this URL:
data:text/html,before<input type="text" value="a ! @b$">
- Tab to the text box.
- Press home to move to the start of the line.
- Press control+rightArrow.
- Expected: NVDA says "bang"
- Actual: NVDA says "a bang"
- Press control+rightArrow.
- Expected: NVDA says "at b dollar"
- Actual: NVDA says "at"
Thanks for the steps James, I was able to reproduce on old Nightly build before the fix (2020-09-22), and verify that this is fixed in Firefox 83.0 RC using Windows 10 64bit and Windows 7 64bit.
Description
•