|
335 | 335 |
|
336 | 336 | <div class="row"> |
337 | 337 | <div class="col-sm-12 form-group"> |
338 | | - <b class="ms-fontSize-xl">Select Scopes</b> |
| 338 | + <b id="select-scopes" class="ms-fontSize-xl">Select Scopes</b> |
339 | 339 | <br /> |
340 | 340 | <span class="has-error"> |
341 | 341 | <span class="help-block" data-bind="text: ScopesError" aria-live="polite" role="alert"></span> |
342 | 342 | </span> |
343 | 343 | <ul role="presentation"> |
344 | 344 | <li> |
345 | 345 | <div class="checkbox"> |
346 | | - <label> |
347 | | - <input type="checkbox" data-bind="checked: PushEnabled, enable: PushAnyEnabled" /> |
| 346 | + <label id="select-scopes-push"> |
| 347 | + <input type="checkbox" data-bind="checked: PushEnabled, enable: PushAnyEnabled" aria-labelledby="select-scopes-push select-scopes" /> |
348 | 348 | Push |
349 | 349 | </label> |
350 | 350 | </div> |
|
353 | 353 | <div class="radio"> |
354 | 354 | <div class="label-sibling"> |
355 | 355 | <input name="PushScope" type="radio" value="@NuGetScopes.PackagePush" |
| 356 | + aria-labelledby="select-scopes-push-package select-scopes" |
356 | 357 | data-bind="checked: PushScope, enable: PushNewEnabled, |
357 | 358 | attr: { id: PackagePushId }" /> |
358 | 359 | </div> |
359 | | - <label data-bind="attr: { for: PackagePushId }"> |
| 360 | + <label id="select-scopes-push-package" data-bind="attr: { for: PackagePushId }"> |
360 | 361 | @NuGetScopes.Describe(NuGetScopes.PackagePush) |
361 | 362 | </label> |
362 | 363 | </div> |
|
365 | 366 | <div class="radio"> |
366 | 367 | <div class="label-sibling"> |
367 | 368 | <input name="PushScope" type="radio" value="@NuGetScopes.PackagePushVersion" |
| 369 | + aria-labelledby="select-scopes-push-package-version select-scopes" |
368 | 370 | data-bind="checked: PushScope, enable: PushExistingEnabled, |
369 | 371 | attr: { id: PackagePushVersionId }" /> |
370 | 372 | </div> |
371 | | - <label data-bind="attr: { for: PackagePushVersionId }"> |
| 373 | + <label id="select-scopes-push-package-version" data-bind="attr: { for: PackagePushVersionId }"> |
372 | 374 | @NuGetScopes.Describe(NuGetScopes.PackagePushVersion) |
373 | 375 | </label> |
374 | 376 | </div> |
|
377 | 379 | </li> |
378 | 380 | <li> |
379 | 381 | <div class="checkbox"> |
380 | | - <label> |
| 382 | + <label id="select-scopes-unlist"> |
381 | 383 | <input type="checkbox" value="@NuGetScopes.PackageUnlist" |
| 384 | + aria-labelledby="select-scopes-unlist select-scopes" |
382 | 385 | data-bind="checked: UnlistScopeChecked, enable: UnlistEnabled" /> |
383 | 386 | @NuGetScopes.Describe(NuGetScopes.PackageUnlist) |
384 | 387 | </label> |
|
0 commit comments