Closed schalkneethling closed 4 years ago
<ul class="mzp-l-card-third"> <li class="mzp-c-card mzp-c-card-small mzp-has-aspect-16-9"> <a href="https://developer.mozilla.com/topics/firefox/security-and-privacy-tools-and-features/" class="mzp-c-card-block-link" data-type="external_page" target="_blank" rel="nofollow noopener"> </a> </li> <li class="mzp-c-card mzp-c-card-small mzp-has-aspect-16-9"> <a href="https://developer.mozilla.com/topics/firefox/security-and-privacy-tools-and-features/" class="mzp-c-card-block-link" data-type="external_page" target="_blank" rel="nofollow noopener"> </a> </li> ... </ul>
[x] Headings, "What we're developing" - Main section title should he h2 and each individual card should then have an h3 level heading.
h2
h3
[x] Cards should ideally be marked up as a list
<ul class="mzp-l-card-quarter"> <li class="mzp-c-card mzp-c-card-extra-small mzp-has-aspect-16-9"> <a href="https://hacks.mozilla.org/2020/06/new-in-firefox-78/" class="mzp-c-card-block-link " data-type="article" target="_blank" rel="nofollow noopener"></a> </li> <li class="mzp-c-card mzp-c-card-extra-small mzp-has-aspect-16-9"> <a href="https://hacks.mozilla.org/2020/06/new-in-firefox-78/" class="mzp-c-card-block-link " data-type="article" target="_blank" rel="nofollow noopener"></a> </li> ... </ul>
h4
First point will be handled by #1719 because it's the same component being reused there, but the rest need code changes
Second and third points are covered by #1736, so that leaves only the fourth point
[x] Headings, "What we're developing" - Main section title should he
h2
and each individual card should then have anh3
level heading.[x] Cards should ideally be marked up as a list
h4
and needs to be marked up as a list