a11y: landing page headings adjustments (#24295)
* Adjust heading level and only heading with intro text * Adjust heading level * Adjust code example and guide card heading levels * Adjust tests for new heading levels * Adjust rendering test for new heading levels
This commit is contained in:
@@ -14,7 +14,7 @@ export const CodeExampleCard = ({ example }: Props) => {
|
||||
href={`https://github.com/${example.href}`}
|
||||
>
|
||||
<div className="p-4">
|
||||
<h4 dangerouslySetInnerHTML={{ __html: example.title }} />
|
||||
<h3 className="f4" dangerouslySetInnerHTML={{ __html: example.title }} />
|
||||
<p
|
||||
className="mt-2 mb-4 color-fg-muted"
|
||||
dangerouslySetInnerHTML={{ __html: example.description }}
|
||||
|
||||
Reference in New Issue
Block a user