Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 312300

Summary: JAWS does not read text with multiple new line characters
Product: [Eclipse Project] Platform Reporter: Doug MacDonald <doug_macdonald>
Component: SWTAssignee: Carolyn MacLeod <carolynmacleod4>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: andrease, daniel_megert, mukund, raji, Silenio_Quarti, stephen.francisco
Version: 3.5.2Keywords: accessibility
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Java App - Snippet222 none

Description Doug MacDonald CLA 2010-05-10 13:00:30 EDT
Build Identifier: 3.4.2

I ran into an issue where I have a StyledText control that has numerous \n in its text. JAWS will not read the text if it has more than 2 \n.

I created a sample that I will attach. The sample has 3 \n in the text for the StlyedText control. JAWS will not read it. If you remove one of the \n, JAWS will read it.

Reproducible: Always

Steps to Reproduce:
1. Launch JAWS 10
2. Run the sample Java App provided
Comment 1 Doug MacDonald CLA 2010-05-10 13:01:58 EDT
Created attachment 167758 [details]
Java App - Snippet222
Comment 2 Doug MacDonald CLA 2010-05-10 13:16:48 EDT
version is 3.5.2
Comment 3 Raji Akella CLA 2010-05-10 19:09:34 EDT
This is being reported as an accessibility issue by Lotus. Is it a JAWS issue?
Comment 4 Steve Francisco CLA 2011-05-20 16:58:24 EDT
JAWS is working as designed – this is not a defect
(multiline edit fields: JAWS announces only the first line. User must Ins+DownArrow to read subsequent lines.)

I believe this can be closed.
Comment 5 Carolyn MacLeod CLA 2011-05-20 19:37:23 EDT
Thank-you, Steve - you are correct. Multi-line texts only announce the first line when they get focus, and the user needs to navigate through the text to hear the rest. Plain down arrow works as well.

The behavior has changed slightly between JAWS 10 and JAWS 12, in that JAWS used to use the height of the control to figure out if it was single-line or multi-line. So sometimes it would read 2 or even 3 lines (depending on the font height) on focus in. Since Eclipse 3.6 and JAWS 12, StyledText can tell JAWS whether it is a single-line or multi-line text. And if it is multi-line, only the first line is spoken on focus in.