Remove redundant alt attribute to icon

This commit is contained in:
Helen Chong 2024-05-27 13:20:46 +08:00
parent c9b45be67f
commit 03cc93800e
1 changed files with 1 additions and 3 deletions

View File

@ -98,7 +98,6 @@ registerNamespace("GW.Controls", function (ns)
<div class="input-vertical"> <div class="input-vertical">
<label for="${this.idKey}-dispName"> <label for="${this.idKey}-dispName">
Display name<span aria-hidden="true">*</span> Display name<span aria-hidden="true">*</span>
<span class="visually-hidden">(Required)</span>
</label> </label>
<input id="${this.idKey}-dispName" type="text" maxlength="1000" required="true"> <input id="${this.idKey}-dispName" type="text" maxlength="1000" required="true">
</div> </div>
@ -118,7 +117,6 @@ registerNamespace("GW.Controls", function (ns)
<div class="comment-box-container"> <div class="comment-box-container">
<label for="${this.idKey}-comment"> <label for="${this.idKey}-comment">
Comment<span aria-hidden="true">*</span> Comment<span aria-hidden="true">*</span>
<span class="visually-hidden">(Required)</span>
</label> </label>
<textarea id="${this.idKey}-comment" <textarea id="${this.idKey}-comment"
minlength="1" minlength="1"
@ -128,7 +126,7 @@ registerNamespace("GW.Controls", function (ns)
></textarea> ></textarea>
</div> </div>
<div id="${this.idKey}-banner" class="inline-banner"> <div id="${this.idKey}-banner" class="inline-banner">
<gw-icon iconKey="circle-info" alt="info"></gw-icon> <gw-icon iconKey="circle-info"></gw-icon>
<p>Comments are manually approved</p> <p>Comments are manually approved</p>
</div> </div>
<div class="form-footer"> <div class="form-footer">