-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[PM-8214] adding tabIndex for screen reader #12602
Conversation
New Issues
Fixed Issues
|
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## main #12602 +/- ##
=======================================
Coverage 33.78% 33.78%
=======================================
Files 2912 2911 -1
Lines 90747 90728 -19
Branches 17165 17159 -6
=======================================
- Hits 30655 30654 -1
+ Misses 57703 57681 -22
- Partials 2389 2393 +4 ☔ View full report in Codecov by Sentry. |
linkType="primary" | ||
(click)="remindMeLaterSelect()" | ||
data-testid="remind-me-later" | ||
tabindex="0" |
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.
🎨 This wasn't selectable because it was missing an href
. Instead of tabindex
we can rely on the native solution by setting href
to something like href="#"
so its a valid anchor tag.
We can also add an appStopClick
directive to avoid potentially appending the #
to the url.
@@ -1,4 +1,4 @@ | |||
<p class="tw-text-center" bitTypography="body1"> | |||
<p class="tw-text-center" bitTypography="body1" tabindex="0"> |
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.
❓ I'm not sure why we want this to be keyboard focusable? Its not something the user can interact with, and screen readers can still interact with it without the tabindex
.
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.
ah how did this sneak back in. thanks! removed
🎟️ Tracking
Bug tickets
PM-16506 - remind me later btn
PM-16527 - second page title
Parent Ticket
PM-8214
📔 Objective
Adding liveAnnouncer to components so titles are announced when the component loads
Adding tabIndex so screen reader can focus the Remind Me Later link
📸 Screen Recording
Screen.Recording.2024-12-30.at.7.17.07.PM.mov
⏰ Reminders before review
🦮 Reviewer guidelines
:+1:
) or similar for great changes:memo:
) or ℹ️ (:information_source:
) for notes or general info:question:
) for questions:thinking:
) or 💭 (:thought_balloon:
) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion:art:
) for suggestions / improvements:x:
) or:warning:
) for more significant problems or concerns needing attention:seedling:
) or ♻️ (:recycle:
) for future improvements or indications of technical debt:pick:
) for minor or nitpick changes