-
Notifications
You must be signed in to change notification settings - Fork 10.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: improve unread badge content a11y #33903
base: develop
Are you sure you want to change the base?
Conversation
Looks like this PR is not ready to merge, because of the following issues:
Please fix the issues and try again If you have any trouble, please check the PR guidelines |
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #33903 +/- ##
========================================
Coverage 75.19% 75.19%
========================================
Files 495 495
Lines 21601 21601
Branches 5362 5362
========================================
Hits 16242 16242
Misses 4717 4717
Partials 642 642
Flags with carried forward coverage won't be shown. Click here to find out more. |
b26be88
to
d4931e9
Compare
|
d4931e9
to
8d072a0
Compare
8d072a0
to
7278082
Compare
@@ -143,7 +143,7 @@ const SidebarItemTemplateWithData = ({ | |||
onClick={(): void => { | |||
!selected && sidebar.toggle(); | |||
}} | |||
aria-label={title} | |||
aria-label={showUnread ? `${unreadTitle} ${t('from')} ${title}` : title} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
create a new i18n
7278082
to
ac1d39d
Compare
ac1d39d
to
f8403f6
Compare
Proposed changes (including videos or screenshots)
aria-hidden
to badge content to avoid SR to read contentaria-label
Issue(s)
Steps to test or reproduce
Further comments