Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F9132
subnav-links.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Authored By
•
bzimport
Nov 22 2014, 12:17 AM
2014-11-22 00:17:53 (UTC+0)
Size
1 KB
Referenced Files
None
Subscribers
None
subnav-links.patch
View Options
Index: extensions/Vector/modules/ext.vector.collapsibleNav.css
===================================================================
--- extensions/Vector/modules/ext.vector.collapsibleNav.css (Revision 111457)
+++ extensions/Vector/modules/ext.vector.collapsibleNav.css (Arbeitskopie)
@@ -15,12 +15,19 @@
padding: 4px 0 3px 1.5em;
margin-bottom: 0px;
}
+#mw-panel.collapsible-nav div.portal h5 a {
+ color: #4D4D4D;
+ text-decoration: none;
+}
#mw-panel.collapsible-nav div.collapsed h5 {
color: #0645AD;
/* @embed */
background: url(images/closed-ltr.png) left center no-repeat;
margin-bottom: 0px;
}
+#mw-panel.collapsible-nav div.collapsed h5 a {
+ color: #0645AD;
+}
#mw-panel.collapsible-nav div h5:hover {
cursor: pointer;
text-decoration: none;
@@ -53,4 +60,4 @@
}
#mw-panel.collapsible-nav div.persistent div.body {
margin-left: 0.5em;
-}
\ No newline at end of file
+}
Index: extensions/Vector/modules/ext.vector.collapsibleNav.js
===================================================================
--- extensions/Vector/modules/ext.vector.collapsibleNav.js (Revision 111457)
+++ extensions/Vector/modules/ext.vector.collapsibleNav.js (Arbeitskopie)
@@ -166,6 +166,10 @@
.each( function( i ) {
var id = $(this).attr( 'id' );
var state = $.cookie( 'vector-nav-' + id );
+
+ // Add anchor tag to heading for better accessibility
+ $(this).find('h5').html('<a href="javascript:void(0);">' + $(this).find('h5').html() + '</a>');
+
// In the case that we are not showing the new version, let's show the languages by default
if (
state == 'true' ||
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
8640
Default Alt Text
subnav-links.patch (1 KB)
Attached To
Mode
T36754: Collapsible navigation toggle should be a link
Attached
Detach File
Event Timeline
Log In to Comment