Projet

Général

Profil

0001-a11y-display-navigation-submenu-when-using-keyboard-.patch

Frédéric Péters, 30 mars 2020 12:16

Télécharger (986 octets)

Voir les différences:

Subject: [PATCH] a11y: display navigation submenu when using keyboard
 navigation (#41115)

 static/includes/_nav.scss | 7 +++++++
 1 file changed, 7 insertions(+)
static/includes/_nav.scss
118 118
	}
119 119
}
120 120

  
121
div.gru-nav li:focus-within > a,
121 122
div.gru-nav li:hover > a {
122 123
	@if $nav-item-selected-mode == background {
123 124
		background-color: $nav-item-hover-background;
......
158 159
	display: block;
159 160
}
160 161

  
162
@media screen and ($min-desktop-viewport) {
163
	div.gru-nav > ul li:focus-within ul {
164
		display: block;
165
	}
166
}
167

  
161 168
.gru-nav-button::-moz-focus-inner {
162 169
	border: 0;
163 170
}
164
-