mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-08 15:51:16 +08:00
refactor(refresher-content): remove the aria-label (#28968)
Co-authored-by: Liam DeBeasi <liamdebeasi@users.noreply.github.com>
This commit is contained in:
@ -114,7 +114,7 @@ export class RefresherContent implements ComponentInterface {
|
||||
{this.pullingIcon && hasSpinner && (
|
||||
<div class="refresher-pulling-icon">
|
||||
<div class="spinner-arrow-container">
|
||||
<ion-spinner name={this.pullingIcon as SpinnerTypes} aria-label="pulling icon" paused></ion-spinner>
|
||||
<ion-spinner name={this.pullingIcon as SpinnerTypes} paused></ion-spinner>
|
||||
{mode === 'md' && this.pullingIcon === 'circular' && (
|
||||
<div class="arrow-container">
|
||||
<ion-icon icon={caretBackSharp} aria-hidden="true"></ion-icon>
|
||||
@ -133,7 +133,7 @@ export class RefresherContent implements ComponentInterface {
|
||||
<div class="refresher-refreshing">
|
||||
{this.refreshingSpinner && (
|
||||
<div class="refresher-refreshing-icon">
|
||||
<ion-spinner name={this.refreshingSpinner} aria-label="refreshing icon"></ion-spinner>
|
||||
<ion-spinner name={this.refreshingSpinner}></ion-spinner>
|
||||
</div>
|
||||
)}
|
||||
{this.refreshingText !== undefined && this.renderRefreshingText()}
|
||||
|
||||
@ -23,7 +23,8 @@ configs({ directions: ['ltr'], modes: ['md'], themes: ['light', 'dark'] }).forEa
|
||||
|
||||
await expect(refresher).toHaveClass(/refresher-pulling/);
|
||||
|
||||
const results = await new AxeBuilder({ page }).analyze();
|
||||
// TODO(FW-5937): Remove the disableRules once the ticket is resolved.
|
||||
const results = await new AxeBuilder({ page }).disableRules('aria-progressbar-name').analyze();
|
||||
|
||||
expect(results.violations).toEqual([]);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user