Skip to content

Commit 683fc32

Browse files
Add aria-label to the version selector component to raise a11y lighthouse score (#1246)
raises score from 96 -> 100 on home page, and 96 -> 100 on /tutorials
1 parent 06ddf27 commit 683fc32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/lit-dev-content/site/_includes/site-nav.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<a href="{{ site.baseurl }}/docs/">Documentation</a>
33

44
<litdev-version-selector>
5-
<select name="version" autocomplete="off">
5+
<select name="version" autocomplete="off" aria-label="Lit version selector">
66
{% for version, versionData in versions %}
77
<option value="{{ version }}"
88
{% if version == selectedVersion %}

0 commit comments

Comments
 (0)