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
Bug 1919396: Fixed a11y violation for Deployment Config Details Pod Status ring #7907
Bug 1919396: Fixed a11y violation for Deployment Config Details Pod Status ring #7907
Conversation
@dtaylor113: This pull request references Bugzilla bug 1919396, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@@ -97,6 +97,7 @@ const PodStatus: React.FC<PodStatusProps> = ({ | |||
duration: ANIMATION_DURATION, | |||
onEnd: updateOnEnd ? forceUpdate : undefined, | |||
}} | |||
ariaTitle={`${truncTitle} ${truncSubTitle}`} // ex: '3 pods' or '3 Scaling to 2' |
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.
Should we use the untruncated value for screen readers? Presumably it's truncated because it won't fit inside the donut. Here we don't have that problem.
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.
fixed, thanks
75d50a9
to
16fe8c4
Compare
@@ -124,19 +125,21 @@ const PodStatus: React.FC<PodStatusProps> = ({ | |||
/> | |||
); | |||
}, [ | |||
updateOnEnd, |
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 assume this changed from an editor quick fix, but it would be better to keep this list alphabetized like before.
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.
fixed, thanks
16fe8c4
to
3482f75
Compare
@@ -129,6 +130,8 @@ const PodStatus: React.FC<PodStatusProps> = ({ | |||
outerRadius, | |||
size, | |||
standalone, | |||
title, | |||
subTitle, |
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.
nit: alpha, this should go below truncSubTitle
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.
arrg, sorry, thanks again! I hate Mondays :-)
3482f75
to
eda9796
Compare
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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dtaylor113, spadgett The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@dtaylor113: All pull requests linked via external trackers have merged: Bugzilla bug 1919396 has been moved to the MODIFIED state. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
No description provided.