Commit e48f3e0
authored
improve: enhance contributors loading state accessibility and feedback (JhaSourav07#2056)
## Summary
This PR improves the Contributors page loading experience by enhancing
the existing loading state with better accessibility support and
additional user feedback.
## Changes Made
* Added `role="status"` to improve screen reader support.
* Added `aria-live="polite"` to announce loading updates to assistive
technologies.
* Added a visually hidden (`sr-only`) loading message for accessibility.
* Added an additional helper message informing users that contributor
data is being fetched from GitHub.
* Preserved the existing loading spinner and functionality.
## Benefits
* Improves accessibility for users relying on screen readers.
* Provides clearer feedback while contributor data is loading.
* Enhances the overall user experience during network requests.
* Makes the loading state more informative and user-friendly.
## Testing
* Verified that the loading screen renders correctly.
* Verified that the spinner animation remains unchanged.
* Verified that additional loading messages are displayed properly.
* Confirmed that contributor data loads as expected once fetching is
complete.
Closes JhaSourav07#20101 file changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
| 4 | + | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
7 | 12 | | |
8 | 13 | | |
9 | 14 | | |
| |||
0 commit comments