Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
e8a88530
Commit
e8a88530
authored
Nov 26, 2012
by
webchick
Browse files
Issue
#1687864
by sun, BarisW, mgifford, sebsebseb123: Bring theme_breadcrumb() up to WCAG 2.0 AA.
parent
a23fde58
Changes
2
Hide whitespace changes
Inline
Side-by-side
core/includes/theme.inc
View file @
e8a88530
...
...
@@ -1830,7 +1830,7 @@ function theme_breadcrumb($variables) {
// Provide a navigational heading to give context for breadcrumb links to
// screen-reader users. Make the heading invisible with .element-invisible.
$output
.
=
'<h2 class="element-invisible">'
.
t
(
'You are here'
)
.
'</h2>'
;
$output
.
=
'<ol><li>'
.
implode
(
'
»
</li><li>'
,
$breadcrumb
)
.
'</li></ol>'
;
$output
.
=
'<ol><li>'
.
implode
(
'</li><li>'
,
$breadcrumb
)
.
'</li></ol>'
;
$output
.
=
'</nav>'
;
}
return
$output
;
...
...
core/modules/system/system.theme.css
View file @
e8a88530
...
...
@@ -305,6 +305,13 @@ ul.inline li {
margin
:
0
;
padding
:
0
;
}
/* IE8 does not support :not() and :last-child. */
.breadcrumb
li
:before
{
content
:
' » '
;
}
.breadcrumb
li
:first-child:before
{
content
:
none
;
}
/**
* Markup generated by theme_menu_local_tasks().
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment