Remove unnecessary `role="button"` on `<button>` elements (#2514)
This commit is contained in:
parent
796cc88b46
commit
58b39c613e
|
@ -65,7 +65,6 @@
|
|||
class="row-btn"
|
||||
appStopClick
|
||||
appBlurClick
|
||||
role="button"
|
||||
appA11yTitle="{{ 'toggleVisibility' | i18n }}"
|
||||
(click)="togglePassword(false)"
|
||||
[attr.aria-pressed]="showPassword"
|
||||
|
@ -118,7 +117,6 @@
|
|||
class="row-btn"
|
||||
appStopClick
|
||||
appBlurClick
|
||||
role="button"
|
||||
appA11yTitle="{{ 'toggleVisibility' | i18n }}"
|
||||
(click)="togglePassword(true)"
|
||||
[attr.aria-pressed]="showPassword"
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
class="row-btn"
|
||||
appStopClick
|
||||
appBlurClick
|
||||
role="button"
|
||||
appA11yTitle="{{ 'toggleVisibility' | i18n }}"
|
||||
(click)="togglePassword()"
|
||||
[attr.aria-pressed]="showPassword"
|
||||
|
|
Loading…
Reference in New Issue