Skip to content

chore(playwright): resolve axe violations with setContent - #28592

Merged
sean-perkins merged 2 commits into
mainfrom
sp/axe-playwright
Nov 29, 2023
Merged

sean-perkins merged 2 commits into
mainfrom
sp/axe-playwright

Conversation

@sean-perkins

Copy link
Copy Markdown
Contributor

Issue number: N/A


What is the current behavior?

When using .setContent, the initial page template is lacking key metadata that will result in AXE violations.

What is the new behavior?

  • Adds a default lang to the html document root
  • Adds a default title tag

Does this introduce a breaking change?

  • Yes
  • No

Other information

@github-actions github-actions Bot added the package: core @ionic/core package label Nov 28, 2023
@sean-perkins
sean-perkins marked this pull request as ready for review November 28, 2023 20:38
@sean-perkins
sean-perkins requested a review from a team as a code owner November 28, 2023 20:38
@sean-perkins
sean-perkins requested review from brandyscarney and removed request for a team November 28, 2023 20:38
@sean-perkins
sean-perkins added this pull request to the merge queue Nov 29, 2023
Merged via the queue into main with commit bd27846 Nov 29, 2023
@sean-perkins
sean-perkins deleted the sp/axe-playwright branch November 29, 2023 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: core @ionic/core package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants