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

List accessibility for quiz-marquee #3460

Merged
merged 2 commits into from
Jan 14, 2025

Conversation

colloyd
Copy link
Contributor

@colloyd colloyd commented Jan 10, 2025

  • Update quiz-marquee authoring to denote nested lists
  • roles for list and listitem in quiz-marquee and quiz-results

Resolves: MWPW-165027

Test URLs:

Testing Notes:

In order to test this change properly, an entry in local storage will need to be created after initially viewing the before and after pages. Set a local storage entry using the following:

Key: quiz-test-en-US
Value: {"primaryProducts":["stager-ind"],"secondaryProducts":["ps-ind","ai-ind","ae-ind"],"umbrellaProduct":"","basicFragments":["https://uar-integration--milo--adobecom.hlx.live/fragments/xiasun/sample-uar-fragments/single-product/single-product-master","https://uar-integration--milo--adobecom.hlx.live/fragments/xiasun/sample-uar-fragments/card/card-list"],"nestedFragments":{"marquee-product-single":[""],"check-bullet":["https://milo.adobe.com/fragments/xiasun/sample-uar-fragments/check-bullet/stager-bullet3","https://milo.adobe.com/fragments/xiasun/sample-uar-fragments/check-bullet/stager-bullet2","https://milo.adobe.com/fragments/xiasun/sample-uar-fragments/check-bullet/stager-bullet3"],"marquee-plan":["https://milo.adobe.com/fragments/xiasun/sample-uar-fragments/master-plan/substance-3d-stager-ind"],"value-prop":["https://milo.adobe.com/fragments/xiasun/sample-uar-fragments/value-prop/value-prop-stager"],"learn":["https://main--milo--adobecom.hlx.live/fragments/xiasun/sample-uar-fragments/learn/learn"],"commerce-card":["https://main--milo--adobecom.hlx.live/fragments/xiasun/sample-uar-fragments/card/ps","https://main--milo--adobecom.hlx.live/fragments/xiasun/sample-uar-fragments/card/ai","https://main--milo--adobecom.hlx.live/fragments/xiasun/sample-uar-fragments/card/ae"]},"pageloadHash":"type=cc:app-reco&quiz=uarv3&result=stager-ind&selectedOptions=q-category/3d|q-3d/stage|q-customer/individual"}

Note that in the before page, the list of checked bullets (classed as "nested check-bullet show") do not have role="list" and the contained fragments do not have role="listitem". Both roles are present on the after page.

<!-- Before submitting, please review all open PRs. -->

* Update quiz-marquee authoring to denote nested lists
* roles for list and listitem in quiz-marquee and quiz-results

Resolves: [MWPW-165027](https://jira.corp.adobe.com/browse/165027-NUMBER)
Copy link

codecov bot commented Jan 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.46%. Comparing base (82694a3) to head (9200a9e).
Report is 20 commits behind head on stage.

Additional details and impacted files
@@            Coverage Diff             @@
##            stage    #3460      +/-   ##
==========================================
- Coverage   96.46%   96.46%   -0.01%     
==========================================
  Files         255      255              
  Lines       59363    59432      +69     
==========================================
+ Hits        57266    57331      +65     
- Misses       2097     2101       +4     

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

@colloyd colloyd requested a review from rgclayton January 10, 2025 19:33
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.

@JackySun9 JackySun9 added verified PR has been E2E tested by a reviewer and removed needs-verification PR requires E2E testing by a reviewer labels Jan 13, 2025
@milo-pr-merge
Copy link
Contributor

milo-pr-merge bot commented Jan 14, 2025

Skipped merging 3460: List accessibility for quiz-marquee due to failing checks

@milo-pr-merge milo-pr-merge bot merged commit c58ef7d into adobecom:stage Jan 14, 2025
18 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready for Stage uar verified PR has been E2E tested by a reviewer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants