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

fix: (CXSPA-944) - Repeated page title fix #19035

Merged
merged 11 commits into from
Aug 19, 2024
Merged

fix: (CXSPA-944) - Repeated page title fix #19035

merged 11 commits into from
Aug 19, 2024

Conversation

Pio-Bar
Copy link
Contributor

@Pio-Bar Pio-Bar commented Jul 9, 2024

Ticket: CXSPA-944

The title was read twice due to the focus returning to the body element and reading both the page title and breadcrumbs component's aria-live. We can conditionally toggle the aria-live area to avoid the repetition.

@Pio-Bar Pio-Bar requested a review from a team as a code owner July 9, 2024 11:42
@github-actions github-actions bot marked this pull request as draft July 9, 2024 11:43
@Pio-Bar Pio-Bar marked this pull request as ready for review July 9, 2024 11:47
Copy link

cypress bot commented Jul 9, 2024



Test summary

121 0 2 0Flakiness 3


Run details

Project spartacus
Status Passed
Commit 89815c3 ℹ️
Started Aug 19, 2024 10:57 AM
Ended Aug 19, 2024 11:00 AM
Duration 03:41 💡
OS Linux Ubuntu -
Browser Electron 118

View run in Cypress Cloud ➡️


Flakiness

cypress/e2e/ssr/pages.core-e2e.cy.ts Flakiness
1 SSR > should render homepage
2 SSR > should render PLP
3 SSR > should render PDP

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Cloud

@github-actions github-actions bot marked this pull request as draft July 9, 2024 13:11
@Pio-Bar Pio-Bar marked this pull request as ready for review July 11, 2024 11:33
@github-actions github-actions bot marked this pull request as draft July 12, 2024 11:05
@Pio-Bar Pio-Bar marked this pull request as ready for review July 12, 2024 11:07
@github-actions github-actions bot marked this pull request as draft July 15, 2024 09:11
@Pio-Bar Pio-Bar marked this pull request as ready for review July 15, 2024 09:12
Copy link
Contributor

Merge Checks Failed

Please push a commit to re-trigger the build. 
To push an empty commit you can use `git commit --allow-empty -m "Trigger Build"`

@github-actions github-actions bot marked this pull request as draft July 15, 2024 09:18
@Pio-Bar Pio-Bar marked this pull request as ready for review July 15, 2024 09:19
@@ -36,6 +57,14 @@ export class BreadcrumbComponent extends PageTitleComponent implements OnInit {
ngOnInit(): void {
super.ngOnInit();
this.setCrumbs();
if (this.featureConfigService.isEnabled('a11yRepeatedPageTitleFix')) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Not needed anymore

@github-actions github-actions bot marked this pull request as draft July 15, 2024 13:43
@Pio-Bar Pio-Bar marked this pull request as ready for review July 15, 2024 13:43
Zeyber
Zeyber previously approved these changes Jul 16, 2024
developpeurweb
developpeurweb previously approved these changes Aug 8, 2024
@Pio-Bar Pio-Bar dismissed stale reviews from developpeurweb and Zeyber via ad75851 August 13, 2024 06:53
@github-actions github-actions bot marked this pull request as draft August 13, 2024 06:53
@Pio-Bar Pio-Bar marked this pull request as ready for review August 13, 2024 06:53
Zeyber
Zeyber previously approved these changes Aug 13, 2024
Copy link
Contributor

Merge Checks Failed

Please push a commit to re-trigger the build. 
To push an empty commit you can use `git commit --allow-empty -m "Trigger Build"`

@github-actions github-actions bot marked this pull request as draft August 19, 2024 10:46
@Pio-Bar Pio-Bar marked this pull request as ready for review August 19, 2024 10:47
@Pio-Bar Pio-Bar merged commit 94ebcd4 into develop Aug 19, 2024
28 checks passed
@Pio-Bar Pio-Bar deleted the feature/CXSPA-944 branch August 19, 2024 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants