adobe-rnd / aem-boilerplate-xwalk

Use this repository template for new AEM XWalk projects.
https://main--aem-boilerplate-xwalk--adobe-rnd.aem.page
Apache License 2.0
20 stars 25 forks source link

fix: wrap texts in paragraphs in blocks #2

Closed buuhuu closed 7 months ago

buuhuu commented 7 months ago

Currently the <p> of text paragraphs in block cells are removed, which is semantically incorrect. This is a known issue in the helix-html-pipeline which has yet to be addressed. In the meantime, wrap any inline element (<a>, <strong>, <em>, <picture>, #text) in a <p> as part of the decoration phase. Skip h1-6 as those are already semantically correct.

aem-code-sync[bot] commented 7 months ago

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed. In case there are problems, just click a checkbox below to rerun the respective action.

Commits * [024f15c](https://github.com/adobe-rnd/aem-boilerplate-xwalk/pull/2/commits/024f15cc94f7a409cbc8bb62017a1066069ead5a) :white_check_mark: (latest) * [0d6e559](https://github.com/adobe-rnd/aem-boilerplate-xwalk/pull/2/commits/0d6e5595c5dd28b1ec1ab46133a71adbd1452ea7) :white_check_mark: * [79e40c0](https://github.com/adobe-rnd/aem-boilerplate-xwalk/pull/2/commits/79e40c06b74693f07a8e1e8edc5d94f5af3d5c39) :white_check_mark: * [7386a5c](https://github.com/adobe-rnd/aem-boilerplate-xwalk/pull/2/commits/7386a5c421caca5e18ea840604c8cb9dd37ac56b) :white_check_mark: * [c8f9169](https://github.com/adobe-rnd/aem-boilerplate-xwalk/pull/2/commits/c8f91691a5ca34634dcd2bcc1ec739dd1c7534df) :white_check_mark: * [f0bee40](https://github.com/adobe-rnd/aem-boilerplate-xwalk/pull/2/commits/f0bee4021b2838b933679ad35977354bd314033e) :x:
aem-code-sync[bot] commented 7 months ago
Page Scores Audits Google
/drafts/drudolph/cards-block PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI