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-157100: Merch card headers as p tags for Accessibility #3080 #461

Closed
wants to merge 3 commits into from

Conversation

Axelcureno
Copy link
Member

This PR changes the tag names of all headings to <p> except for the first heading <h3> as per accessibility requirements, as changed in this milo PR: adobecom/milo#3080

this.sepcialOffersTitleH4 = this.sepcialOffers.locator('h4[slot="detail-m"]').nth(0);
this.sepcialOffersTitleH5 = this.sepcialOffers.locator('h5[slot="body-xs"]');
this.sepcialOffersTitleH4 = this.sepcialOffers.locator('p[slot="detail-m"]').nth(0);
this.sepcialOffersTitleH5 = this.sepcialOffers.locator('div[slot="body-xs"]');
Copy link

Choose a reason for hiding this comment

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

btw, for consistency I think you should rename the variables this.sepcialOffersTitleH*, as they are not mapping to a header anymore.

Copy link
Member Author

Choose a reason for hiding this comment

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

Good point. I've made the change.

@Axelcureno Axelcureno requested a review from yesil October 31, 2024 17:32
Copy link
Contributor

@skumar09 skumar09 left a comment

Choose a reason for hiding this comment

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

PR looks good,

@Axelcureno : can you please raise this PR to milo repo for merchcard block,
Info: Milo tests are moved to Milo Repo, and Nala repo will have only Milo consuming application automation scripts.

@Axelcureno
Copy link
Member Author

Closing this PR since merch card block NALA tests has been moved to Milo repo.

@Axelcureno Axelcureno closed this Oct 31, 2024
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.

5 participants