-
Notifications
You must be signed in to change notification settings - Fork 361
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
fix: [M3-8743] - fix aria label of action menu in IP address table row. #11167
fix: [M3-8743] - fix aria label of action menu in IP address table row. #11167
Conversation
Coverage Report: ✅ |
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.
Thanks for fixing this! Approving pending the minor comments I left are addressed.
I'd recommend that we also confirm the corrected aria label via the unit test for LinodeIPAddressRow.test.tsx using a getByLabelText
for the action menu. (Banks made this improvement in a recent PR, but the PR was reverted for other reasons.)
...s/manager/src/features/Linodes/LinodesDetail/LinodeNetworking/LinodeNetworkingActionMenu.tsx
Outdated
Show resolved
Hide resolved
Co-authored-by: Mariah Jacobs <114685994+mjac0bs@users.noreply.github.com>
Co-authored-by: Mariah Jacobs <114685994+mjac0bs@users.noreply.github.com>
if (ipAddress && 'address' in ipAddress) { | ||
return `Action menu for IP Address ${ipAddress.address}`; | ||
} else { | ||
return `Action menu for IP Address ${ipAddress?.range}`; |
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.
Can we make the ipAddress
prop required on this component? That may allow us to remove this ?
as well
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.
Change the ipAddress
prop to required to remove the optional chaining ?
...s/manager/src/features/Linodes/LinodesDetail/LinodeNetworking/LinodeNetworkingActionMenu.tsx
Outdated
Show resolved
Hide resolved
Co-authored-by: Banks Nussman <115251059+bnussman-akamai@users.noreply.github.com>
Cloud Manager E2E Run #6767
Run Properties:
|
Project |
Cloud Manager E2E
|
Branch Review |
develop
|
Run status |
Passed #6767
|
Run duration | 28m 04s |
Commit |
a7225f0f27: fix: [M3-8743] - fix aria label of action menu in IP address table row. (#11167)
|
Committer | hasyed-akamai |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
3
|
Pending |
2
|
Skipped |
0
|
Passing |
445
|
View all changes introduced in this branch ↗︎ |
Description 📝
To get a better understanding of the aria label of action menu in IP Address table. Here, we have make it human readable by adding address to the aria label.
Changes 🔄
List any change relevant to the reviewer.
Target release date 🗓️
Preview 📷
How to test 🧪
Prerequisites
Reproduction steps
Verification steps
As an Author I have considered 🤔
Check all that apply