Open Bug 1904999 Opened 1 year ago Updated 1 year ago

Line feed shouldn't be treated as a word boundary

Categories

(Core :: Disability Access APIs, defect)

defect

Tracking

()

People

(Reporter: Jamie, Unassigned)

References

(Blocks 1 open bug)

Details

Originally reported in NVDA issue comment: https://github.com/nvaccess/nvda/issues/3156#issuecomment-1714337678

STR (with the NVDA screen reader):

  1. Open this test case:
    data:text/html,<textarea>ab cd%0aef
  2. Focus the textarea.
  3. Press control+rightArrow.
    • Observe: NVDA says "cd"
  4. Press control+rightArrow.
    • Expected: NVDA should say "line feed"
    • Actual: NVDA says "cd"

This occurs because accessibility believes that the line feed is included in the same word as "cd", but cursor navigation treats both "cd" and the line feed as separate word stops. Note that both accessibility and cursor navigation consistently include spaces as at the end of words; they're just inconsistent for line feeds.

You need to log in before you can comment on or make changes to this bug.