Skip to content

Commit b4a2488

Browse files
author
Lynn Dai
committed
add aria-live to read alter
1 parent 82b1d22 commit b4a2488

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/NuGetGallery/Views/Users/ApiKeys.cshtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,13 +396,13 @@
396396
individual packages, or both.
397397
</p>
398398
<div class="has-error">
399-
<span class="help-block" data-bind="text: SubjectsError"></span>
399+
<span class="help-block" data-bind="text: SubjectsError" aria-live="polite" role="alert"></span>
400400
</div>
401401
<div class="has-error">
402402
<span class="field-validation-valid help-block"
403403
data-valmsg-replace="true"
404404
data-bind="attr: { 'data-valmsg-for': GlobPatternId,
405-
id: GlobPatternId() + '-validation-message' }"></span>
405+
id: GlobPatternId() + '-validation-message' }" aria-live="polite" role="alert"></span>
406406
</div>
407407
</div>
408408
</div>

0 commit comments

Comments
 (0)