Skip to content

Commit a83ebeb

Browse files
committed
a11y fix
1 parent 6782d0f commit a83ebeb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/components/SiteTitle.astro

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const { siteTitle, siteTitleHref } = Astro.locals.starlightRoute;
1616
{siteTitle}
1717
</span>
1818
</a>
19-
<select id="version-selector">
19+
<select id="version-selector" aria-label="Select version">
2020
<option value="https://vscode-elements.github.io/docs-archive/v1">v1.x</option
2121
>
2222
<option selected value="https://vscode-elements.github.io"
@@ -39,7 +39,8 @@ const { siteTitle, siteTitleHref } = Astro.locals.starlightRoute;
3939
span {
4040
overflow: hidden;
4141
}
42-
img, svg {
42+
img,
43+
svg {
4344
height: calc(var(--sl-nav-height) - 2 * var(--sl-nav-pad-y));
4445
width: auto;
4546
max-width: 100%;

0 commit comments

Comments
 (0)