mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
fix(input): add aria-label to clear button (#21538)
This commit is contained in:
@ -405,6 +405,7 @@ export class Input implements ComponentInterface {
|
|||||||
onKeyDown={this.onKeydown}
|
onKeyDown={this.onKeydown}
|
||||||
/>
|
/>
|
||||||
{(this.clearInput && !this.readonly && !this.disabled) && <button
|
{(this.clearInput && !this.readonly && !this.disabled) && <button
|
||||||
|
aria-label="reset"
|
||||||
type="button"
|
type="button"
|
||||||
class="input-clear-icon"
|
class="input-clear-icon"
|
||||||
tabindex="-1"
|
tabindex="-1"
|
||||||
|
Reference in New Issue
Block a user