◐ Shell
clean mode source ↗

doc: improve accessibility of expandable lists · nodejs/node@33ee464

@@ -182,34 +182,29 @@ li.picker-header .picker-arrow {

182182

height: .6rem;

183183

border-top: .3rem solid transparent;

184184

border-bottom: .3rem solid transparent;

185-

border-left: .6rem solid var(--color-links);

185+

border-left: .6rem solid currentColor;

186186

border-right: none;

187187

margin: 0 .2rem .05rem 0;

188188

}

189189190-

li.picker-header a:focus .picker-arrow,

191-

li.picker-header a:active .picker-arrow,

192-

li.picker-header a:hover .picker-arrow {

193-

border-left: .6rem solid var(--white);

194-

}

195-196-

li.picker-header.expanded a:focus .picker-arrow,

197-

li.picker-header.expanded a:active .picker-arrow,

198-

li.picker-header.expanded a:hover .picker-arrow,

190+

li.picker-header.expanded .picker-arrow,

191+

:root:not(.has-js) li.picker-header:focus-within .picker-arrow,

199192

:root:not(.has-js) li.picker-header:hover .picker-arrow {

200-

border-top: .6rem solid var(--white);

193+

border-top: .6rem solid currentColor;

201194

border-bottom: none;

202195

border-left: .35rem solid transparent;

203196

border-right: .35rem solid transparent;

204197

margin-bottom: 0;

205198

}

206199207200

li.picker-header.expanded > a,

201+

:root:not(.has-js) li.picker-header:focus-within > a,

208202

:root:not(.has-js) li.picker-header:hover > a {

209203

border-radius: 2px 2px 0 0;

210204

}

211205212206

li.picker-header.expanded > .picker,

207+

:root:not(.has-js) li.picker-header:focus-within > .picker,

213208

:root:not(.has-js) li.picker-header:hover > .picker {

214209

display: block;

215210

z-index: 1;