Skip to content

Commit

Permalink
Add aria-label to the version selector component to raise a11y lighth…
Browse files Browse the repository at this point in the history
…ouse score (#1246)

raises score from 96 -> 100 on home page, and 96 -> 100 on /tutorials
  • Loading branch information
AndrewJakubowicz authored Nov 1, 2023
1 parent 06ddf27 commit 683fc32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lit-dev-content/site/_includes/site-nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<a href="{{ site.baseurl }}/docs/">Documentation</a>

<litdev-version-selector>
<select name="version" autocomplete="off">
<select name="version" autocomplete="off" aria-label="Lit version selector">
{% for version, versionData in versions %}
<option value="{{ version }}"
{% if version == selectedVersion %}
Expand Down

0 comments on commit 683fc32

Please sign in to comment.