Skip to content

Commit f05ec2e

Browse files
committed
add aria-labels to operator-selectors #37
1 parent fc45a88 commit f05ec2e

File tree

2 files changed

+67
-2
lines changed

2 files changed

+67
-2
lines changed

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ <h1 class="heading">Operator Game</h1>
110110

111111
<!-- operator drop-down menu -->
112112
<form action="/action_page.php">
113-
<select class="operator-selector" name="operator1">
113+
<select class="operator-selector" name="operator" aria-label="Operator selector drop-down">
114114
<option value="+">+</option>
115115
<option value="-">&minus;</option>
116116
<option value="*">&times;</option>
@@ -123,7 +123,7 @@ <h1 class="heading">Operator Game</h1>
123123

124124
<!-- operator drop-down menu -->
125125
<form action="/action_page.php">
126-
<select class="operator-selector" name="operator1">
126+
<select class="operator-selector" name="operator" aria-label="Operator selector drop-down">
127127
<option value="+">+</option>
128128
<option value="-">&minus;</option>
129129
<option value="*">&times;</option>

testing/automated-testing/lighthouse-accessibility/blahosyl.github.io-20240329T185054.html

Lines changed: 65 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)