#15767tt_content.menu.20 (TYPO3 4.0beta3): wrong wraps for sitemap/menu elements in accessibility mode
Description
The new listbased menu/sitemap elements are not wrapped correctly: at some places there are still the -Tags with wrapItemAndSub for each ul-based menu/sitemap
2. remove allWrap ( ,
default.wrap =
default.1.NO.allWrap >
default.1.NO.wrapItemAndSub = |
default.1.NO.ATagTitle.field = description // title
|
wraps from the “old” mode (see css_styled_content/static/setup.txt from line 1129 onwards).The following is to be done:
1. Add2. remove allWrap (
and others) for each ul-based menu/sitemap
See below for the corrections:
tt_content.menu.20 { # “Menu of these pages“default.wrap =
default.1.NO.allWrap >
default.1.NO.wrapItemAndSub =
default.1.NO.ATagTitle.field = description // title
- “Menu of subpages to these pages“
1.wrap = <ul class=“csc-menu csc-menu-1”>|</ul>
1.1.NO.allWrap >
1.1.NO.wrapItemAndSub = <li>|</li>
- “Sitemap – liststyle“
2 >
2 = HMENU
2 {
wrap = <div class=“csc-sitemap”>|</div>
1 = TMENU
1 {
noBlur=1
expAll=1
wrap = <ul>|</ul>
NO {
stdWrap.htmlSpecialChars = 1
wrapItemAndSub = <li>|</li>
ATagTitle.field = description // title
}
}
2<.1
3<.1
4<.1
5<.1
6<.1
7<.1
}
- “Section index (pagecontent w/Index checked – liststyle)“
3.wrap = <ul class=“csc-menu csc-menu-3”>|</ul>
3.renderObj.noBlur = 1
3.renderObj.wrap = <li class=“csc-section”>|</li>
- “Menu of subpages to these pages (with abstract)“
4.wrap = <dl class=“csc-menu csc-menu-4”>|</dl>
4.1.NO {
allWrap = <dt>|</dd>
after.wrap = </dt><dd>|
ATagTitle.field = description // title
}
- “Recently updated pages“
5.wrap = <ul class=“csc-menu csc-menu-5”>|</ul>
5.1.NO.allWrap >
5.1.NO.wrapItemAndSub = <li>|</li>
- “Related pages (based on keywords)“
6.wrap = <ul class=“csc-menu csc-menu-6”>|</ul>
6.1.NO.allWrap >
6.1.NO.wrapItemAndSub = <li>|</li>
- “Menu of subpages to these pages + sections – liststyle“
7.wrap = <ul class=“csc-menu csc-menu-7”>|</ul>
7.1.NO.allWrap >
7.1.NO.wrapItemAndSub = <li>|</li>
7.2.wrap = <ul class=“csc-section”>|</ul>
7.2.NO.allWrap >
7.2.NO.wrapItemAndSub = <li>|</li>
7.2.NO.ATagTitle.field = description // title
}
(issue imported from #M2767)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.