Issues

 
16 of 16

CKEditor Return inserts <p>

Won't Fix

Description

Hitting RETURN in the CKEditor results in inserting a paragraph <p> instead of a break <br> (behavior in 2.7).

Suggest setting default behavior to return a line break, as this is what users are used to. I believe this can be accomplished by setting the "Format" attribute of the editor to "Normal(Div)"

Work around for users is to use SHIFT+RETURN

Reported in ITSM ticket: REQ000000203370

Details

Assignee

Reporter

Components

Affects versions

Priority

Created January 14, 2013 at 3:38 PM
Updated January 18, 2013 at 12:26 PM
Resolved January 16, 2013 at 6:23 AM

Activity

John JohnstonJanuary 16, 2013 at 7:23 AM

OK, we will add the SHIFT+RETURN workaround to the help docs to point disgruntled users to. We could post this as a tip on MOTD also.

Beth KirschnerJanuary 16, 2013 at 6:23 AM

Based on preferences of accessibility and ckeditor optimizations for <p>, I suggest we leave the default behavior as is.

Gonzalo SilverioJanuary 16, 2013 at 5:16 AM

A question posed to the Sakai a11y group:

"A side effect of Michigan's upgrade to 2.9 was the CKEditor's default of separating blocks of text by wrapping them in a <p> instead of separating them with a <br />
The question was raised about a11y ramifications. Is there a preference for one or the other?"

The answers:

Scott Williams (UM): "This change is a good thing, as paragraphs are enclosed in their own semantic elements."

Joe Humbert (IUPUI): "Yes, I agree. Enclosed paragraph tags provide both improved semantics and enhanced navigation. Screen reading software provides a mechanism to jump from paragraph to paragraph."

Additionally:

"Screen readers and search engines do not stop for soft returns in the same way that they do for paragraph endings."
http://www.userite.com/web-accessibility/page-semantics/basic-accessible-page.html

Gonzalo SilverioJanuary 15, 2013 at 12:43 PM

I have done a bit research - found nothing on <p> vs <br /> in the a11y context. But the top level guidelines encourage semantic markup whenever possible.

Sean Michael DemonnerJanuary 15, 2013 at 12:37 PM

Which would have the least negative impact on promoting the creation of accessible content?