Skip to content
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

MWPW-162027 Catalog action menu A11Y collapsed expanded #3473

Merged
merged 34 commits into from
Jan 27, 2025

Conversation

bozojovicic
Copy link
Contributor

@bozojovicic bozojovicic commented Jan 13, 2025

Copy link
Contributor

aem-code-sync bot commented Jan 13, 2025

Page Scores Audits Google
📱 /drafts/bozo/price-cta?martech=off PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI
🖥️ /drafts/bozo/price-cta?martech=off PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI

Copy link

codecov bot commented Jan 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.50%. Comparing base (f5205a6) to head (716d234).
Report is 2 commits behind head on stage.

Additional details and impacted files
@@            Coverage Diff             @@
##            stage    #3473      +/-   ##
==========================================
+ Coverage   96.49%   96.50%   +0.01%     
==========================================
  Files         260      260              
  Lines       60730    60735       +5     
==========================================
+ Hits        58599    58611      +12     
+ Misses       2131     2124       -7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jpratt2
Copy link
Contributor

jpratt2 commented Jan 13, 2025

@bozojovicic
Regarding the failed nala tests, could you try this: pull the recent changes from stage into your branch and then re-push your branch
cc: @skumar09

Copy link
Contributor

This pull request is not passing all required checks. Please see this discussion for information on how to get all checks passing. Inconsistent checks can be manually retried. If a test absolutely can not pass for a good reason, please add a comment with an explanation to the PR.

@bozojovicic bozojovicic marked this pull request as ready for review January 14, 2025 16:14
@bozojovicic
Copy link
Contributor Author

15 times I tried to rebuild this PR and always some random test fails : unit tests, coverage, nala or psi-check
I give up for today

Copy link
Contributor

@3ch023 3ch023 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure the fix will work as expected, maybe @Roycethan can do a pre-test on NVDA.
If it works we can merge as is.

But on mac voiceover it didn't work for me, maybe because it ticket request was to swith to actionable element like button before adding aria-expanded attribute.
In https://main--cc--adobecom.hlx.page/products/catalog?milolibs=mwpw162027a11y--milo--bozojovicic however it is still a div

@bozojovicic
Copy link
Contributor Author

@3ch023 AC says

The screen reader should announce the expand/collapse state when the keyboard focus moves to the button.

And that's what I did. And it works when I try it with VoiceOver. It doesn't say that the screen reader should announce the expand/collapse state every time when user opens/closes it. Maybe that's what you tried to do.

@Roycethan
Copy link

not sure the fix will work as expected, maybe @Roycethan can do a pre-test on NVDA. If it works we can merge as is.

But on mac voiceover it didn't work for me, maybe because it ticket request was to swith to actionable element like button before adding aria-expanded attribute. In https://main--cc--adobecom.hlx.page/products/catalog?milolibs=mwpw162027a11y--milo--bozojovicic however it is still a div

@3ch023 Checked on NVDA - windows fix looks good ... screen reader announces collapsed/expanded based on action performed on the button. May be a Vocice over bug in Mac for Safari, but as i checked it also works for Mac+Chrome combination. Post 2 approvals will do regression around.

cc @bozojovicic

@Roycethan Roycethan added verified PR has been E2E tested by a reviewer Ready for Stage labels Jan 18, 2025
@milo-pr-merge
Copy link
Contributor

milo-pr-merge bot commented Jan 20, 2025

Skipped 3473: "MWPW-162027 Catalog action menu A11Y collapsed expanded" due to file "libs/deps/mas/mas.js" overlap. Merging will be attempted in the next batch

1 similar comment
@milo-pr-merge
Copy link
Contributor

milo-pr-merge bot commented Jan 21, 2025

Skipped 3473: "MWPW-162027 Catalog action menu A11Y collapsed expanded" due to file "libs/deps/mas/mas.js" overlap. Merging will be attempted in the next batch

@Roycethan
Copy link

Skipped 3473: "MWPW-162027 Catalog action menu A11Y collapsed expanded" due to file "libs/deps/mas/mas.js" overlap. Merging will be attempted in the next batch

@bozojovicic You might need to resolve the conflicts here or pull latest for merge to happen...

@milo-pr-merge
Copy link
Contributor

milo-pr-merge bot commented Jan 23, 2025

Skipped 3473: "MWPW-162027 Catalog action menu A11Y collapsed expanded" due to file "libs/deps/mas/mas.js" overlap. Merging will be attempted in the next batch

@milo-pr-merge
Copy link
Contributor

milo-pr-merge bot commented Jan 27, 2025

Skipped 3473: "MWPW-162027 Catalog action menu A11Y collapsed expanded" due to file "libs/deps/mas/mas.js" overlap. Merging will be attempted in the next batch

@overmyheadandbody overmyheadandbody merged commit 0a9e222 into adobecom:stage Jan 27, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
commerce Ready for Stage verified PR has been E2E tested by a reviewer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants