ionic-team / ionic-team/ionic-framework

bug: ion-refresher-content, should be able to set aria-label, title or aria-labelledby

Đang mở
#28,890 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
package: core type: bug
Ngôn ngữ chính
TypeScript
Star
52.7k
Fork
13.3k
Merge trung bình
1 ngày 15 giờ
Pull request đã merge (30 ngày)
51

Mô tả

### Prerequisites

- [X] I have read the [Contributing Guidelines](https://github.com/ionic-team/ionic-framework/blob/main/.github/CONTRIBUTING.md#creating-an-issue).
- [X] I agree to follow the [Code of Conduct](https://ionicframework.com/code-of-conduct).
- [X] I have searched for [existing issues](https://github.com/ionic-team/ionic-framework/issues) that already report this problem, without success.

### Ionic Framework Version

v7.x

### Current Behavior

This got my attention due to a failing accessibility test using `@axe-core/playwright`. So the issue that gets warned about is that progressbars should have accessible labels: https://dequeuniversity.com/rules/axe/4.8/aria-progressbar-name?application=playwright

There appears to be no way to set an accessible label when using the `ion-refresher`, like so
```





```

### Expected Behavior

Expect to be able to set a `title`, `aria-label` or `aria-labelledby` as recommended here https://ionicframework.com/docs/api/refresher

### Steps to Reproduce

Just see any of the demos here https://ionicframework.com/docs/api/refresher and observe that the spinners don't have an accessible name

### Code Reproduction URL

_No response_

### Ionic Info

"@ionic/angular": "7.6.6",

### Additional Information

_No response_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.