Active
Project:
WYSIWYG Tools Plus
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Dec 2014 at 18:10 UTC
Updated:
25 Apr 2017 at 10:07 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
johnjw59 commentedChanging the accordion wrapper from a
<span>to a<h5>(or anything else that isn't inline) fixes the issue.Comment #2
S Payne commentedThis works for me, thanks.
I'd solved the problem in a different way by wrapping initial contents of the ready accordion div in
<p>tags which also allows users to add block-level elements to the accordion, but I think it makes more sense for the header element itself to be block-level.Comment #3
zwerg commentedThe patch doesn't work for me (7.x-1.0-beta1) because
<h5>won't be inserted. Is there any solution yet?Comment #4
S Payne commentedThat's a good point about the h5. We should probably use a non-header element for a wrapper as inserting a heading can create the wrong document outline or, if some kind of accessibility check is being enforced, be impossible to insert.